diff options
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index 637246e..eeb69c5 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs | |||
@@ -63,6 +63,7 @@ namespace OpenSim | |||
63 | 63 | ||
64 | 64 | ||
65 | protected ModuleLoader m_moduleLoader; | 65 | protected ModuleLoader m_moduleLoader; |
66 | protected LocalLoginService m_loginService; | ||
66 | 67 | ||
67 | protected string m_storageDLL = "OpenSim.DataStore.NullStorage.dll"; | 68 | protected string m_storageDLL = "OpenSim.DataStore.NullStorage.dll"; |
68 | 69 | ||
@@ -170,12 +171,10 @@ namespace OpenSim | |||
170 | CommunicationsLocal localComms = new CommunicationsLocal(m_networkServersInfo, m_httpServer, m_assetCache, userService, inventoryService, backendService, backendService); | 171 | CommunicationsLocal localComms = new CommunicationsLocal(m_networkServersInfo, m_httpServer, m_assetCache, userService, inventoryService, backendService, backendService); |
171 | m_commsManager = localComms; | 172 | m_commsManager = localComms; |
172 | 173 | ||
174 | m_loginService = new LocalLoginService(userService, standaloneWelcomeMessage, localComms, m_networkServersInfo, standaloneAuthenticate); | ||
175 | m_loginService.OnLoginToRegion += backendService.AddNewSession; | ||
173 | 176 | ||
174 | LocalLoginService loginService = new LocalLoginService(userService, standaloneWelcomeMessage, localComms, m_networkServersInfo, standaloneAuthenticate); | 177 | m_httpServer.AddXmlRPCHandler("login_to_simulator", m_loginService.XmlRpcLoginMethod); |
175 | loginService.OnLoginToRegion += backendService.AddNewSession; | ||
176 | |||
177 | m_httpServer.AddXmlRPCHandler("login_to_simulator", loginService.XmlRpcLoginMethod); | ||
178 | |||
179 | 178 | ||
180 | if (standaloneAuthenticate) | 179 | if (standaloneAuthenticate) |
181 | { | 180 | { |