aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2019-08-04 01:51:26 +1000
committeronefang2019-08-04 01:51:26 +1000
commit13749a22de026f4c7ea3980a9d8414ce18c4c94b (patch)
tree2690f85dfe804a5e8e18e660a0f05873c3325d9a
parentTweaking create_sim. (diff)
downloadopensim-SC_OLD-13749a22de026f4c7ea3980a9d8414ce18c4c94b.zip
opensim-SC_OLD-13749a22de026f4c7ea3980a9d8414ce18c4c94b.tar.gz
opensim-SC_OLD-13749a22de026f4c7ea3980a9d8414ce18c4c94b.tar.bz2
opensim-SC_OLD-13749a22de026f4c7ea3980a9d8414ce18c4c94b.tar.xz
Don't inform neighbours that we are up twice.
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs b/OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs
index 555b2f6..b096146 100644
--- a/OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs
@@ -219,6 +219,10 @@ namespace OpenSim.Region.OptionalModules.Scripting.RegionReady
219 GC.WaitForPendingFinalizers(); 219 GC.WaitForPendingFinalizers();
220 GC.Collect(); 220 GC.Collect();
221 221
222//// Scene.cs already does this.
223//// m_scene.SceneGridService.InformNeighborsThatRegionisUp(
224//// m_scene.RequestModuleInterface<INeighbourService>(), m_scene.RegionInfo);
225
222 if (!m_scene.StartDisabled) 226 if (!m_scene.StartDisabled)
223 { 227 {
224 m_scene.LoginsEnabled = true; 228 m_scene.LoginsEnabled = true;
@@ -236,9 +240,6 @@ namespace OpenSim.Region.OptionalModules.Scripting.RegionReady
236 m_log.InfoFormat("[RegionReady]: INITIALIZATION COMPLETE FOR {0}", m_scene.Name); 240 m_log.InfoFormat("[RegionReady]: INITIALIZATION COMPLETE FOR {0}", m_scene.Name);
237 } 241 }
238 242
239 m_scene.SceneGridService.InformNeighborsThatRegionisUp(
240 m_scene.RequestModuleInterface<INeighbourService>(), m_scene.RegionInfo);
241
242 if (m_uri != string.Empty) 243 if (m_uri != string.Empty)
243 { 244 {
244 RRAlert("enabled"); 245 RRAlert("enabled");