diff options
author | MW | 2007-10-05 11:40:30 +0000 |
---|---|---|
committer | MW | 2007-10-05 11:40:30 +0000 |
commit | 710b8375a98cf4dd96342eabc2eaaccc2fbd46f2 (patch) | |
tree | 4d6777043904f2226b08917a4051760331aadd00 /OpenSim/Region/Application | |
parent | * UserProfileData meets code conventions (diff) | |
download | opensim-SC_OLD-710b8375a98cf4dd96342eabc2eaaccc2fbd46f2.zip opensim-SC_OLD-710b8375a98cf4dd96342eabc2eaaccc2fbd46f2.tar.gz opensim-SC_OLD-710b8375a98cf4dd96342eabc2eaaccc2fbd46f2.tar.bz2 opensim-SC_OLD-710b8375a98cf4dd96342eabc2eaaccc2fbd46f2.tar.xz |
Some tiny refactoring
Diffstat (limited to '')
-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 | { |