diff options
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Services/LLLoginService/LLLoginService.cs')
-rw-r--r-- | OpenSim/Services/LLLoginService/LLLoginService.cs | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs index 59fb559..5f30f84 100644 --- a/OpenSim/Services/LLLoginService/LLLoginService.cs +++ b/OpenSim/Services/LLLoginService/LLLoginService.cs | |||
@@ -961,14 +961,25 @@ namespace OpenSim.Services.LLLoginService | |||
961 | // or fixing critical issues | 961 | // or fixing critical issues |
962 | // | 962 | // |
963 | if (cmd.Length > 2) | 963 | if (cmd.Length > 2) |
964 | Int32.TryParse(cmd[2], out m_MinLoginLevel); | 964 | { |
965 | if (Int32.TryParse(cmd[2], out m_MinLoginLevel)) | ||
966 | MainConsole.Instance.OutputFormat("Set minimum login level to {0}", m_MinLoginLevel); | ||
967 | else | ||
968 | MainConsole.Instance.OutputFormat("ERROR: {0} is not a valid login level", cmd[2]); | ||
969 | } | ||
965 | break; | 970 | break; |
966 | case "reset": | 971 | |
972 | case "reset": | ||
967 | m_MinLoginLevel = 0; | 973 | m_MinLoginLevel = 0; |
974 | MainConsole.Instance.OutputFormat("Reset min login level to {0}", m_MinLoginLevel); | ||
968 | break; | 975 | break; |
976 | |||
969 | case "text": | 977 | case "text": |
970 | if (cmd.Length > 2) | 978 | if (cmd.Length > 2) |
979 | { | ||
971 | m_WelcomeMessage = cmd[2]; | 980 | m_WelcomeMessage = cmd[2]; |
981 | MainConsole.Instance.OutputFormat("Login welcome message set to '{0}'", m_WelcomeMessage); | ||
982 | } | ||
972 | break; | 983 | break; |
973 | } | 984 | } |
974 | } | 985 | } |