diff options
Diffstat (limited to 'OpenSim/Region/Application/OpenSimMain.cs')
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index dad6afd..e0ea212 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs | |||
@@ -157,8 +157,13 @@ namespace OpenSim | |||
157 | 157 | ||
158 | if (m_sandbox) | 158 | if (m_sandbox) |
159 | { | 159 | { |
160 | CommunicationsLocal.LocalSettings settings = new CommunicationsLocal.LocalSettings(standaloneWelcomeMessage, standaloneAuthenticate, standaloneInventoryPlugin, standaloneUserPlugin); | 160 | CommunicationsLocal.LocalSettings settings = new CommunicationsLocal.LocalSettings(standaloneWelcomeMessage, standaloneAuthenticate, standaloneInventoryPlugin); |
161 | CommunicationsLocal localComms = new CommunicationsLocal(m_networkServersInfo, m_httpServer, m_assetCache, settings); | 161 | |
162 | LocalInventoryService inventoryService = new LocalInventoryService(); | ||
163 | LocalUserServices userService = new LocalUserServices(m_networkServersInfo, m_networkServersInfo.DefaultHomeLocX, m_networkServersInfo.DefaultHomeLocY, inventoryService ); | ||
164 | userService.AddPlugin( standaloneUserPlugin ); | ||
165 | |||
166 | CommunicationsLocal localComms = new CommunicationsLocal(m_networkServersInfo, m_httpServer, m_assetCache, settings, userService); | ||
162 | m_commsManager = localComms; | 167 | m_commsManager = localComms; |
163 | if (standaloneAuthenticate) | 168 | if (standaloneAuthenticate) |
164 | { | 169 | { |