aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorBlueWall2011-05-28 11:11:01 -0400
committerBlueWall2011-05-28 16:20:10 -0400
commitc7e18f9017302991f7a4411293ef2fbb20cc9b5a (patch)
tree79f3058a7f7b30e0e70257478715015539ffbdf1 /OpenSim/Region/Framework/Scenes/Scene.cs
parentAdd option to disable logins (diff)
downloadopensim-SC_OLD-c7e18f9017302991f7a4411293ef2fbb20cc9b5a.zip
opensim-SC_OLD-c7e18f9017302991f7a4411293ef2fbb20cc9b5a.tar.gz
opensim-SC_OLD-c7e18f9017302991f7a4411293ef2fbb20cc9b5a.tar.bz2
opensim-SC_OLD-c7e18f9017302991f7a4411293ef2fbb20cc9b5a.tar.xz
Adding an event to signal that logins are enabled
Added an event to signal the eabling of logins and added an alert to send to a configured service.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index e9f5f9e..1d562fd 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -1376,9 +1376,12 @@ namespace OpenSim.Region.Framework.Scenes
1376 IConfig startupConfig = m_config.Configs["Startup"]; 1376 IConfig startupConfig = m_config.Configs["Startup"];
1377 if (startupConfig == null || !startupConfig.GetBoolean("StartDisabled", false)) 1377 if (startupConfig == null || !startupConfig.GetBoolean("StartDisabled", false))
1378 { 1378 {
1379 // This handles a case of a region having no scripts for the RegionReady module
1379 if (m_sceneGraph.GetActiveScriptsCount() == 0) 1380 if (m_sceneGraph.GetActiveScriptsCount() == 0)
1380 { 1381 {
1382 // need to be able to tell these have changed in RegionReady
1381 LoginLock = false; 1383 LoginLock = false;
1384 EventManager.TriggerLoginsEnabled(RegionInfo.RegionName);
1382 } 1385 }
1383 m_log.DebugFormat("[REGION]: Enabling logins for {0}", RegionInfo.RegionName); 1386 m_log.DebugFormat("[REGION]: Enabling logins for {0}", RegionInfo.RegionName);
1384 // For RegionReady lockouts 1387 // For RegionReady lockouts