diff options
author | onefang | 2019-08-04 01:51:26 +1000 |
---|---|---|
committer | onefang | 2019-08-04 01:51:26 +1000 |
commit | 13749a22de026f4c7ea3980a9d8414ce18c4c94b (patch) | |
tree | 2690f85dfe804a5e8e18e660a0f05873c3325d9a /OpenSim/Region/OptionalModules | |
parent | Tweaking create_sim. (diff) | |
download | opensim-SC-13749a22de026f4c7ea3980a9d8414ce18c4c94b.zip opensim-SC-13749a22de026f4c7ea3980a9d8414ce18c4c94b.tar.gz opensim-SC-13749a22de026f4c7ea3980a9d8414ce18c4c94b.tar.bz2 opensim-SC-13749a22de026f4c7ea3980a9d8414ce18c4c94b.tar.xz |
Don't inform neighbours that we are up twice.
Diffstat (limited to 'OpenSim/Region/OptionalModules')
-rw-r--r-- | OpenSim/Region/OptionalModules/Scripting/RegionReadyModule/RegionReadyModule.cs | 7 |
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"); |