mirror of
https://github.com/opensim/opensim.git
synced 2026-05-19 22:45:43 +08:00
Add EventManager.OnRegionLoginsStatusChange fired whenever logins are enabled or disabled at any point, not just during initial startup.
This replaces EventManager.OnLoginsEnabled which only fired when logins were first enabled and was affected by a bug where it would never fire if the region started with logins disabled.
This commit is contained in:
@@ -210,15 +210,13 @@ namespace OpenSim.Region.OptionalModules.Scripting.RegionReady
|
||||
|
||||
if (!m_scene.StartDisabled)
|
||||
{
|
||||
m_scene.LoginsDisabled = false;
|
||||
m_scene.LoginsEnabled = true;
|
||||
|
||||
// m_log.InfoFormat("[RegionReady]: Logins enabled for {0}, Oar {1}",
|
||||
// m_scene.RegionInfo.RegionName, m_oarFileLoading.ToString());
|
||||
|
||||
m_log.InfoFormat(
|
||||
"[RegionReady]: INITIALIZATION COMPLETE FOR {0} - LOGINS ENABLED", m_scene.Name);
|
||||
|
||||
m_scene.EventManager.TriggerLoginsEnabled(m_scene);
|
||||
}
|
||||
|
||||
m_scene.SceneGridService.InformNeighborsThatRegionisUp(
|
||||
|
||||
Reference in New Issue
Block a user