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.3-extended
Justin Clark-Casey (justincc) 2012-06-20 00:07:03 +01:00
parent 512d0ac411
commit 9779ceded5
1 changed files with 2 additions and 2 deletions

View File

@ -1453,11 +1453,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;
}