aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/BaseOpenSimServer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Servers/BaseOpenSimServer.cs')
-rw-r--r--OpenSim/Framework/Servers/BaseOpenSimServer.cs12
1 files changed, 5 insertions, 7 deletions
diff --git a/OpenSim/Framework/Servers/BaseOpenSimServer.cs b/OpenSim/Framework/Servers/BaseOpenSimServer.cs
index 3016715..4831446 100644
--- a/OpenSim/Framework/Servers/BaseOpenSimServer.cs
+++ b/OpenSim/Framework/Servers/BaseOpenSimServer.cs
@@ -1,4 +1,4 @@
1/* 1/*
2* Copyright (c) Contributors, http://opensimulator.org/ 2* Copyright (c) Contributors, http://opensimulator.org/
3* See CONTRIBUTORS.TXT for a full list of copyright holders. 3* See CONTRIBUTORS.TXT for a full list of copyright holders.
4* 4*
@@ -27,7 +27,6 @@
27*/ 27*/
28 28
29using System; 29using System;
30
31using OpenSim.Framework.Console; 30using OpenSim.Framework.Console;
32 31
33namespace OpenSim.Framework.Servers 32namespace OpenSim.Framework.Servers
@@ -37,8 +36,7 @@ namespace OpenSim.Framework.Servers
37 /// </summary> 36 /// </summary>
38 public abstract class BaseOpenSimServer 37 public abstract class BaseOpenSimServer
39 { 38 {
40 protected LogBase m_log; 39 protected ConsoleBase m_console;
41
42 protected DateTime m_startuptime; 40 protected DateTime m_startuptime;
43 41
44 public BaseOpenSimServer() 42 public BaseOpenSimServer()
@@ -56,7 +54,7 @@ namespace OpenSim.Framework.Servers
56 switch (command) 54 switch (command)
57 { 55 {
58 case "help": 56 case "help":
59 m_log.Notice("show uptime - show server startup and uptime."); 57 m_console.Notice("show uptime - show server startup and uptime.");
60 break; 58 break;
61 59
62 case "show": 60 case "show":
@@ -77,8 +75,8 @@ namespace OpenSim.Framework.Servers
77 switch (ShowWhat) 75 switch (ShowWhat)
78 { 76 {
79 case "uptime": 77 case "uptime":
80 m_log.Notice("Server has been running since " + m_startuptime.ToString()); 78 m_console.Notice("Server has been running since " + m_startuptime.ToString());
81 m_log.Notice("That is " + (DateTime.Now - m_startuptime).ToString()); 79 m_console.Notice("That is " + (DateTime.Now - m_startuptime).ToString());
82 break; 80 break;
83 } 81 }
84 } 82 }