diff --git a/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs b/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs index a5ad028bc5..a1b3960634 100644 --- a/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs +++ b/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs @@ -44,7 +44,6 @@ using OpenSim.Region.Communications.Hypergrid; using OpenSim.Region.Communications.Local; using OpenSim.Region.Communications.OGS1; using OpenSim.Framework.Servers; -using OpenSim.ApplicationPlugins.LoadRegions; namespace OpenSim.ApplicationPlugins.CreateCommsManager { @@ -69,7 +68,7 @@ namespace OpenSim.ApplicationPlugins.CreateCommsManager protected GridInfoService m_gridInfoService; protected IHyperlink HGServices = null; - protected LoadRegionsPlugin m_loadRegionsPlugin; + protected IRegionCreator m_regionCreator; public void Initialise() { @@ -91,9 +90,9 @@ namespace OpenSim.ApplicationPlugins.CreateCommsManager public void PostInitialise() { - if (m_openSim.ApplicationRegistry.TryGet(out m_loadRegionsPlugin)) + if (m_openSim.ApplicationRegistry.TryGet(out m_regionCreator)) { - m_loadRegionsPlugin.OnNewRegionCreated += RegionCreated; + m_regionCreator.OnNewRegionCreated += RegionCreated; } } diff --git a/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs b/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs index 4a6a6b10f6..db89ea9ba5 100644 --- a/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs +++ b/OpenSim/ApplicationPlugins/LoadRegions/LoadRegionsPlugin.cs @@ -70,7 +70,7 @@ namespace OpenSim.ApplicationPlugins.LoadRegions public void Initialise(OpenSimBase openSim) { m_openSim = openSim; - m_openSim.ApplicationRegistry.RegisterInterface(this); + m_openSim.ApplicationRegistry.RegisterInterface(this); } public void PostInitialise() diff --git a/prebuild.xml b/prebuild.xml index 4425520a34..0b42592007 100644 --- a/prebuild.xml +++ b/prebuild.xml @@ -1464,7 +1464,6 @@ -