minor: change login enable/disable messages in last commit so that they occur after the setting has been made
parent
4b88f04c0a
commit
ed142ead25
|
@ -129,12 +129,12 @@ namespace OpenSim.Region.CoreModules.World
|
|||
switch (cmd[1])
|
||||
{
|
||||
case "enable":
|
||||
MainConsole.Instance.Output(String.Format("Logins are enabled for region {0}", scene.RegionInfo.RegionName));
|
||||
scene.LoginsDisabled = false;
|
||||
MainConsole.Instance.Output(String.Format("Logins are enabled for region {0}", scene.RegionInfo.RegionName));
|
||||
break;
|
||||
case "disable":
|
||||
MainConsole.Instance.Output(String.Format("Logins are disabled for region {0}", scene.RegionInfo.RegionName));
|
||||
scene.LoginsDisabled = true;
|
||||
MainConsole.Instance.Output(String.Format("Logins are disabled for region {0}", scene.RegionInfo.RegionName));
|
||||
break;
|
||||
case "status":
|
||||
if (scene.LoginsDisabled)
|
||||
|
|
Loading…
Reference in New Issue