aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/UserServer/UserServerCommandModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Grid/UserServer/UserServerCommandModule.cs')
-rw-r--r--OpenSim/Grid/UserServer/UserServerCommandModule.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Grid/UserServer/UserServerCommandModule.cs b/OpenSim/Grid/UserServer/UserServerCommandModule.cs
index f73b3de..1d74c80 100644
--- a/OpenSim/Grid/UserServer/UserServerCommandModule.cs
+++ b/OpenSim/Grid/UserServer/UserServerCommandModule.cs
@@ -49,7 +49,7 @@ namespace OpenSim.Grid.UserServer
49 { 49 {
50 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 50 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
51 51
52 protected ConsoleBase m_console; 52 protected CommandConsole m_console;
53 protected UserConfig m_cfg; 53 protected UserConfig m_cfg;
54 54
55 protected UserDataBaseService m_userDataBaseService; 55 protected UserDataBaseService m_userDataBaseService;
@@ -88,8 +88,8 @@ namespace OpenSim.Grid.UserServer
88 m_loginService = loginService; 88 m_loginService = loginService;
89 } 89 }
90 90
91 ConsoleBase console; 91 CommandConsole console;
92 if ((m_core.TryGet<ConsoleBase>(out console)) && (m_cfg != null) 92 if ((m_core.TryGet<CommandConsole>(out console)) && (m_cfg != null)
93 && (m_userDataBaseService != null) && (m_loginService != null)) 93 && (m_userDataBaseService != null) && (m_loginService != null))
94 { 94 {
95 RegisterConsoleCommands(console); 95 RegisterConsoleCommands(console);
@@ -101,7 +101,7 @@ namespace OpenSim.Grid.UserServer
101 101
102 } 102 }
103 103
104 private void RegisterConsoleCommands(ConsoleBase console) 104 private void RegisterConsoleCommands(CommandConsole console)
105 { 105 {
106 m_console = console; 106 m_console = console;
107 m_console.Commands.AddCommand("userserver", false, "create user", 107 m_console.Commands.AddCommand("userserver", false, "create user",