diff options
author | BlueWall | 2011-05-28 16:21:30 -0400 |
---|---|---|
committer | BlueWall | 2011-05-28 16:21:30 -0400 |
commit | 3326e417b4e105d8d9850aa983981615df3eebc4 (patch) | |
tree | 600279962de2a4c54791b486cb3d93ed22685fd3 /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | Merge branch 'master' of /home/opensim/src/opensim (diff) | |
parent | Adding an event to signal that logins are enabled (diff) | |
download | opensim-SC_OLD-3326e417b4e105d8d9850aa983981615df3eebc4.zip opensim-SC_OLD-3326e417b4e105d8d9850aa983981615df3eebc4.tar.gz opensim-SC_OLD-3326e417b4e105d8d9850aa983981615df3eebc4.tar.bz2 opensim-SC_OLD-3326e417b4e105d8d9850aa983981615df3eebc4.tar.xz |
Merge branch 'master' of /home/opensim/src/opensim
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 3 |
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 |