aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Server/Base/ServicesServerBase.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Server/Base/ServicesServerBase.cs')
-rw-r--r--OpenSim/Server/Base/ServicesServerBase.cs16
1 files changed, 4 insertions, 12 deletions
diff --git a/OpenSim/Server/Base/ServicesServerBase.cs b/OpenSim/Server/Base/ServicesServerBase.cs
index b13c87d..8243900 100644
--- a/OpenSim/Server/Base/ServicesServerBase.cs
+++ b/OpenSim/Server/Base/ServicesServerBase.cs
@@ -190,16 +190,7 @@ namespace OpenSim.Server.Base
190 } 190 }
191 191
192 RegisterCommonCommands(); 192 RegisterCommonCommands();
193 193 RegisterCommonComponents(Config);
194 // Register the quit command
195 //
196 MainConsole.Instance.Commands.AddCommand("General", false, "quit",
197 "quit",
198 "Quit the application", HandleQuit);
199
200 MainConsole.Instance.Commands.AddCommand("General", false, "shutdown",
201 "shutdown",
202 "Quit the application", HandleQuit);
203 194
204 // Allow derived classes to perform initialization that 195 // Allow derived classes to perform initialization that
205 // needs to be done after the console has opened 196 // needs to be done after the console has opened
@@ -231,11 +222,12 @@ namespace OpenSim.Server.Base
231 return 0; 222 return 0;
232 } 223 }
233 224
234 protected virtual void HandleQuit(string module, string[] args) 225 protected override void ShutdownSpecific()
235 { 226 {
236 m_Running = false; 227 m_Running = false;
237 m_log.Info("[CONSOLE] Quitting"); 228 m_log.Info("[CONSOLE] Quitting");
238 229
230 base.ShutdownSpecific();
239 } 231 }
240 232
241 protected virtual void ReadConfig() 233 protected virtual void ReadConfig()
@@ -246,4 +238,4 @@ namespace OpenSim.Server.Base
246 { 238 {
247 } 239 }
248 } 240 }
249} 241} \ No newline at end of file