diff options
author | Melanie | 2019-08-20 23:28:59 +0100 |
---|---|---|
committer | Melanie | 2019-08-20 23:28:59 +0100 |
commit | 0fd17c08ae642fac17b24dfad06c61cfe5739483 (patch) | |
tree | 4871c96eab2f5b118cb09d670a3a4ba024cf1210 /OpenSim/Services/LLLoginService | |
parent | change PGSQL migration (diff) | |
download | opensim-SC-0fd17c08ae642fac17b24dfad06c61cfe5739483.zip opensim-SC-0fd17c08ae642fac17b24dfad06c61cfe5739483.tar.gz opensim-SC-0fd17c08ae642fac17b24dfad06c61cfe5739483.tar.bz2 opensim-SC-0fd17c08ae642fac17b24dfad06c61cfe5739483.tar.xz |
Massive console refactor. Greatly simplify interface.
Diffstat (limited to 'OpenSim/Services/LLLoginService')
-rwxr-xr-x[-rw-r--r--] | OpenSim/Services/LLLoginService/LLLoginService.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs index b923761..22cdff5 100644..100755 --- a/OpenSim/Services/LLLoginService/LLLoginService.cs +++ b/OpenSim/Services/LLLoginService/LLLoginService.cs | |||
@@ -1122,22 +1122,22 @@ namespace OpenSim.Services.LLLoginService | |||
1122 | if (cmd.Length > 2) | 1122 | if (cmd.Length > 2) |
1123 | { | 1123 | { |
1124 | if (Int32.TryParse(cmd[2], out m_MinLoginLevel)) | 1124 | if (Int32.TryParse(cmd[2], out m_MinLoginLevel)) |
1125 | MainConsole.Instance.OutputFormat("Set minimum login level to {0}", m_MinLoginLevel); | 1125 | MainConsole.Instance.Output("Set minimum login level to {0}", null, m_MinLoginLevel); |
1126 | else | 1126 | else |
1127 | MainConsole.Instance.OutputFormat("ERROR: {0} is not a valid login level", cmd[2]); | 1127 | MainConsole.Instance.Output("ERROR: {0} is not a valid login level", null, cmd[2]); |
1128 | } | 1128 | } |
1129 | break; | 1129 | break; |
1130 | 1130 | ||
1131 | case "reset": | 1131 | case "reset": |
1132 | m_MinLoginLevel = m_LoginServerConfig.GetInt("MinLoginLevel", 0); | 1132 | m_MinLoginLevel = m_LoginServerConfig.GetInt("MinLoginLevel", 0); |
1133 | MainConsole.Instance.OutputFormat("Reset min login level to {0}", m_MinLoginLevel); | 1133 | MainConsole.Instance.Output("Reset min login level to {0}", null, m_MinLoginLevel); |
1134 | break; | 1134 | break; |
1135 | 1135 | ||
1136 | case "text": | 1136 | case "text": |
1137 | if (cmd.Length > 2) | 1137 | if (cmd.Length > 2) |
1138 | { | 1138 | { |
1139 | m_WelcomeMessage = cmd[2]; | 1139 | m_WelcomeMessage = cmd[2]; |
1140 | MainConsole.Instance.OutputFormat("Login welcome message set to '{0}'", m_WelcomeMessage); | 1140 | MainConsole.Instance.Output("Login welcome message set to '{0}'", null, m_WelcomeMessage); |
1141 | } | 1141 | } |
1142 | break; | 1142 | break; |
1143 | } | 1143 | } |