aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/LLLoginService/LLLoginService.cs
diff options
context:
space:
mode:
authorUbitUmarov2019-10-22 13:04:01 +0100
committerUbitUmarov2019-10-22 13:04:01 +0100
commit46e36601cb3c54e6e441284aed7c0c5c35970a4c (patch)
treebf52486c1e8edaae327d7d93ea3ae6e6fd48a61d /OpenSim/Services/LLLoginService/LLLoginService.cs
parentremove some more useless NULL arguments (diff)
downloadopensim-SC-46e36601cb3c54e6e441284aed7c0c5c35970a4c.zip
opensim-SC-46e36601cb3c54e6e441284aed7c0c5c35970a4c.tar.gz
opensim-SC-46e36601cb3c54e6e441284aed7c0c5c35970a4c.tar.bz2
opensim-SC-46e36601cb3c54e6e441284aed7c0c5c35970a4c.tar.xz
remove some more useless NULL arguments
Diffstat (limited to 'OpenSim/Services/LLLoginService/LLLoginService.cs')
-rwxr-xr-xOpenSim/Services/LLLoginService/LLLoginService.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs
index 9b8ea37..8baaccb 100755
--- a/OpenSim/Services/LLLoginService/LLLoginService.cs
+++ b/OpenSim/Services/LLLoginService/LLLoginService.cs
@@ -1126,22 +1126,22 @@ namespace OpenSim.Services.LLLoginService
1126 if (cmd.Length > 2) 1126 if (cmd.Length > 2)
1127 { 1127 {
1128 if (Int32.TryParse(cmd[2], out m_MinLoginLevel)) 1128 if (Int32.TryParse(cmd[2], out m_MinLoginLevel))
1129 MainConsole.Instance.Output("Set minimum login level to {0}", null, m_MinLoginLevel); 1129 MainConsole.Instance.Output("Set minimum login level to {0}", m_MinLoginLevel);
1130 else 1130 else
1131 MainConsole.Instance.Output("ERROR: {0} is not a valid login level", null, cmd[2]); 1131 MainConsole.Instance.Output("ERROR: {0} is not a valid login level", cmd[2]);
1132 } 1132 }
1133 break; 1133 break;
1134 1134
1135 case "reset": 1135 case "reset":
1136 m_MinLoginLevel = m_LoginServerConfig.GetInt("MinLoginLevel", 0); 1136 m_MinLoginLevel = m_LoginServerConfig.GetInt("MinLoginLevel", 0);
1137 MainConsole.Instance.Output("Reset min login level to {0}", null, m_MinLoginLevel); 1137 MainConsole.Instance.Output("Reset min login level to {0}", m_MinLoginLevel);
1138 break; 1138 break;
1139 1139
1140 case "text": 1140 case "text":
1141 if (cmd.Length > 2) 1141 if (cmd.Length > 2)
1142 { 1142 {
1143 m_WelcomeMessage = cmd[2]; 1143 m_WelcomeMessage = cmd[2];
1144 MainConsole.Instance.Output("Login welcome message set to '{0}'", null, m_WelcomeMessage); 1144 MainConsole.Instance.Output("Login welcome message set to '{0}'", m_WelcomeMessage);
1145 } 1145 }
1146 break; 1146 break;
1147 } 1147 }