Another change to how the CreateCommsManagerPlugin checks if it should be creating HG or normal CommunicationsManager.

This commit is contained in:
MW
2009-02-26 22:14:24 +00:00
parent 4f072a0876
commit faca2a7ddc

View File

@@ -114,8 +114,9 @@ namespace OpenSim.ApplicationPlugins.CreateCommsManager
private void InitialiseCommsManager(OpenSimBase openSim)
{
LibraryRootFolder libraryRootFolder = new LibraryRootFolder(m_openSim.ConfigurationSettings.LibrariesXMLFile);
bool hgrid = m_openSim.ConfigSource.Source.Configs["Startup"].GetBoolean("hypergrid", false);
if (openSim is HGOpenSimNode)
if (hgrid)
{
HGOpenSimNode hgNode = (HGOpenSimNode)openSim;