If RegionReady is active, don't falsely say that logins are enabled in the main scene loop before RegionReady is signalled when initial script compilation finishes.

Also raises this logging level to Info from Debug since this information is of high importance.  This matches the behaviour of the RegionReady module
0.7.4.1
Justin Clark-Casey (justincc) 2012-06-20 00:07:03 +01:00
parent e23d7ff9c0
commit 9737e6d52e
1 changed files with 2 additions and 2 deletions

View File

@ -1474,11 +1474,11 @@ namespace OpenSim.Region.Framework.Scenes
LoginLock = false;
EventManager.TriggerLoginsEnabled(RegionInfo.RegionName);
}
m_log.DebugFormat("[REGION]: Enabling logins for {0}", RegionInfo.RegionName);
// For RegionReady lockouts
if(LoginLock == false)
if (!LoginLock)
{
m_log.InfoFormat("[REGION]: Enabling logins for {0}", RegionInfo.RegionName);
LoginsDisabled = false;
}