diff options
author | Justin Clark-Casey (justincc) | 2011-08-12 22:50:58 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-08-12 22:50:58 +0100 |
commit | ed142ead25834f6ce77585262a69f873db03a393 (patch) | |
tree | 612558a90d638da3a56c1fe56c39d9a36ba66a0e | |
parent | minor: On "login disable/enable" always tell the user the final login status,... (diff) | |
download | opensim-SC_OLD-ed142ead25834f6ce77585262a69f873db03a393.zip opensim-SC_OLD-ed142ead25834f6ce77585262a69f873db03a393.tar.gz opensim-SC_OLD-ed142ead25834f6ce77585262a69f873db03a393.tar.bz2 opensim-SC_OLD-ed142ead25834f6ce77585262a69f873db03a393.tar.xz |
minor: change login enable/disable messages in last commit so that they occur after the setting has been made
-rw-r--r-- | OpenSim/Region/CoreModules/World/Access/AccessModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/World/Access/AccessModule.cs b/OpenSim/Region/CoreModules/World/Access/AccessModule.cs index b5e1fd9..2399134 100644 --- a/OpenSim/Region/CoreModules/World/Access/AccessModule.cs +++ b/OpenSim/Region/CoreModules/World/Access/AccessModule.cs | |||
@@ -129,12 +129,12 @@ namespace OpenSim.Region.CoreModules.World | |||
129 | switch (cmd[1]) | 129 | switch (cmd[1]) |
130 | { | 130 | { |
131 | case "enable": | 131 | case "enable": |
132 | MainConsole.Instance.Output(String.Format("Logins are enabled for region {0}", scene.RegionInfo.RegionName)); | ||
133 | scene.LoginsDisabled = false; | 132 | scene.LoginsDisabled = false; |
133 | MainConsole.Instance.Output(String.Format("Logins are enabled for region {0}", scene.RegionInfo.RegionName)); | ||
134 | break; | 134 | break; |
135 | case "disable": | 135 | case "disable": |
136 | MainConsole.Instance.Output(String.Format("Logins are disabled for region {0}", scene.RegionInfo.RegionName)); | ||
137 | scene.LoginsDisabled = true; | 136 | scene.LoginsDisabled = true; |
137 | MainConsole.Instance.Output(String.Format("Logins are disabled for region {0}", scene.RegionInfo.RegionName)); | ||
138 | break; | 138 | break; |
139 | case "status": | 139 | case "status": |
140 | if (scene.LoginsDisabled) | 140 | if (scene.LoginsDisabled) |