diff options
Diffstat (limited to 'OpenSim/Server/Base')
-rw-r--r-- | OpenSim/Server/Base/ServicesServerBase.cs | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/OpenSim/Server/Base/ServicesServerBase.cs b/OpenSim/Server/Base/ServicesServerBase.cs index 56bb7ae..7b49ac9 100644 --- a/OpenSim/Server/Base/ServicesServerBase.cs +++ b/OpenSim/Server/Base/ServicesServerBase.cs | |||
@@ -174,6 +174,8 @@ namespace OpenSim.Server.Base | |||
174 | MainConsole.Instance = new LocalConsole(prompt); | 174 | MainConsole.Instance = new LocalConsole(prompt); |
175 | } | 175 | } |
176 | 176 | ||
177 | m_console = MainConsole.Instance; | ||
178 | |||
177 | // Configure the appenders for log4net | 179 | // Configure the appenders for log4net |
178 | // | 180 | // |
179 | OpenSimAppender consoleAppender = null; | 181 | OpenSimAppender consoleAppender = null; |
@@ -351,21 +353,5 @@ namespace OpenSim.Server.Base | |||
351 | { | 353 | { |
352 | } | 354 | } |
353 | } | 355 | } |
354 | |||
355 | public virtual void HandleShow(string module, string[] cmd) | ||
356 | { | ||
357 | List<string> args = new List<string>(cmd); | ||
358 | |||
359 | args.RemoveAt(0); | ||
360 | |||
361 | string[] showParams = args.ToArray(); | ||
362 | |||
363 | switch (showParams[0]) | ||
364 | { | ||
365 | case "uptime": | ||
366 | MainConsole.Instance.Output(GetUptimeReport()); | ||
367 | break; | ||
368 | } | ||
369 | } | ||
370 | } | 356 | } |
371 | } \ No newline at end of file | 357 | } \ No newline at end of file |