aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/LocalGridServiceConnector.cs9
1 files changed, 4 insertions, 5 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/LocalGridServiceConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/LocalGridServiceConnector.cs
index 47792a2..3900e7b 100644
--- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/LocalGridServiceConnector.cs
+++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Grid/LocalGridServiceConnector.cs
@@ -85,9 +85,8 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid
85 { 85 {
86 string name = moduleConfig.GetString("GridServices", ""); 86 string name = moduleConfig.GetString("GridServices", "");
87 if (name == Name) 87 if (name == Name)
88 { 88 {
89 89 if(InitialiseService(source, null))
90 if(InitialiseService(source,null))
91 m_log.Info("[LOCAL GRID SERVICE CONNECTOR]: Local grid connector enabled"); 90 m_log.Info("[LOCAL GRID SERVICE CONNECTOR]: Local grid connector enabled");
92 } 91 }
93 } 92 }
@@ -151,7 +150,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid
151 scene.RegisterModuleInterface<IGridService>(this); 150 scene.RegisterModuleInterface<IGridService>(this);
152 151
153 m_RegionInfoCache.CacheLocal(new GridRegion(scene.RegionInfo)); 152 m_RegionInfoCache.CacheLocal(new GridRegion(scene.RegionInfo));
154 scene.EventManager.OnRegionUp += OnRegionUp; 153// scene.EventManager.OnRegionUp += OnRegionUp;
155 } 154 }
156 155
157 public void RemoveRegion(Scene scene) 156 public void RemoveRegion(Scene scene)
@@ -160,7 +159,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Grid
160 return; 159 return;
161 160
162 m_RegionInfoCache.Remove(scene.RegionInfo.ScopeID, scene.RegionInfo.RegionID); 161 m_RegionInfoCache.Remove(scene.RegionInfo.ScopeID, scene.RegionInfo.RegionID);
163 scene.EventManager.OnRegionUp -= OnRegionUp; 162 // scene.EventManager.OnRegionUp -= OnRegionUp;
164 } 163 }
165 164
166 public void RegionLoaded(Scene scene) 165 public void RegionLoaded(Scene scene)