aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs')
-rw-r--r--OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs b/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs
index a5ad028..a1b3960 100644
--- a/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs
+++ b/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs
@@ -44,7 +44,6 @@ using OpenSim.Region.Communications.Hypergrid;
44using OpenSim.Region.Communications.Local; 44using OpenSim.Region.Communications.Local;
45using OpenSim.Region.Communications.OGS1; 45using OpenSim.Region.Communications.OGS1;
46using OpenSim.Framework.Servers; 46using OpenSim.Framework.Servers;
47using OpenSim.ApplicationPlugins.LoadRegions;
48 47
49namespace OpenSim.ApplicationPlugins.CreateCommsManager 48namespace OpenSim.ApplicationPlugins.CreateCommsManager
50{ 49{
@@ -69,7 +68,7 @@ namespace OpenSim.ApplicationPlugins.CreateCommsManager
69 protected GridInfoService m_gridInfoService; 68 protected GridInfoService m_gridInfoService;
70 protected IHyperlink HGServices = null; 69 protected IHyperlink HGServices = null;
71 70
72 protected LoadRegionsPlugin m_loadRegionsPlugin; 71 protected IRegionCreator m_regionCreator;
73 72
74 public void Initialise() 73 public void Initialise()
75 { 74 {
@@ -91,9 +90,9 @@ namespace OpenSim.ApplicationPlugins.CreateCommsManager
91 90
92 public void PostInitialise() 91 public void PostInitialise()
93 { 92 {
94 if (m_openSim.ApplicationRegistry.TryGet<LoadRegionsPlugin>(out m_loadRegionsPlugin)) 93 if (m_openSim.ApplicationRegistry.TryGet<IRegionCreator>(out m_regionCreator))
95 { 94 {
96 m_loadRegionsPlugin.OnNewRegionCreated += RegionCreated; 95 m_regionCreator.OnNewRegionCreated += RegionCreated;
97 } 96 }
98 } 97 }
99 98