diff options
author | Diva Canto | 2013-02-19 17:04:43 -0800 |
---|---|---|
committer | Diva Canto | 2013-02-19 17:04:43 -0800 |
commit | c5cbf862f96817ffa5e588f70da78fd4adc859f4 (patch) | |
tree | f26ca275b6558ee05f8691e9a2d2bdc39bb5a089 /OpenSim/Services | |
parent | Updated AssemblyInfo.cs for Groups and OfflineIM to 0.7.6.*. Removed Assembly... (diff) | |
parent | Give the user some feedback about the success or failure of console login pro... (diff) | |
download | opensim-SC-c5cbf862f96817ffa5e588f70da78fd4adc859f4.zip opensim-SC-c5cbf862f96817ffa5e588f70da78fd4adc859f4.tar.gz opensim-SC-c5cbf862f96817ffa5e588f70da78fd4adc859f4.tar.bz2 opensim-SC-c5cbf862f96817ffa5e588f70da78fd4adc859f4.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Services')
-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 | } |