diff options
author | Oren Hurvitz | 2014-03-24 18:33:18 +0200 |
---|---|---|
committer | Oren Hurvitz | 2014-03-24 18:33:18 +0200 |
commit | 5b2af7f99ea9caf7c00674abd87b33797ce13ef4 (patch) | |
tree | d8ac6ab0a312b37f790dd7964dc2a989c6bd70f2 /OpenSim/Services/LLLoginService/LLLoginService.cs | |
parent | When a user logs-in, automatically create the Suitcase folder (diff) | |
download | opensim-SC-5b2af7f99ea9caf7c00674abd87b33797ce13ef4.zip opensim-SC-5b2af7f99ea9caf7c00674abd87b33797ce13ef4.tar.gz opensim-SC-5b2af7f99ea9caf7c00674abd87b33797ce13ef4.tar.bz2 opensim-SC-5b2af7f99ea9caf7c00674abd87b33797ce13ef4.tar.xz |
Moved the linkage between LoginService and HGInventoryService to the config file
Diffstat (limited to 'OpenSim/Services/LLLoginService/LLLoginService.cs')
-rw-r--r-- | OpenSim/Services/LLLoginService/LLLoginService.cs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs index d8f036a..b61b5e8 100644 --- a/OpenSim/Services/LLLoginService/LLLoginService.cs +++ b/OpenSim/Services/LLLoginService/LLLoginService.cs | |||
@@ -167,11 +167,12 @@ namespace OpenSim.Services.LLLoginService | |||
167 | m_UserAgentService = ServerUtils.LoadPlugin<IUserAgentService>(agentService, args); | 167 | m_UserAgentService = ServerUtils.LoadPlugin<IUserAgentService>(agentService, args); |
168 | 168 | ||
169 | // Get the Hypergrid inventory service (exists only if Hypergrid is enabled) | 169 | // Get the Hypergrid inventory service (exists only if Hypergrid is enabled) |
170 | string hgInvService = Util.GetConfigVarFromSections<string>(config, "LocalServiceModule", new string[] { "HGInventoryService" }, String.Empty); | 170 | string hgInvServicePlugin = m_LoginServerConfig.GetString("HGInventoryServicePlugin", String.Empty); |
171 | if (hgInvService != string.Empty) | 171 | if (hgInvServicePlugin != string.Empty) |
172 | { | 172 | { |
173 | Object[] args2 = new Object[] { config, "HGInventoryService" }; | 173 | string hgInvServiceArg = m_LoginServerConfig.GetString("HGInventoryServiceConstructorArg", String.Empty); |
174 | m_HGInventoryService = ServerUtils.LoadPlugin<IInventoryService>(hgInvService, args2); | 174 | Object[] args2 = new Object[] { config, hgInvServiceArg }; |
175 | m_HGInventoryService = ServerUtils.LoadPlugin<IInventoryService>(hgInvServicePlugin, args2); | ||
175 | } | 176 | } |
176 | 177 | ||
177 | // | 178 | // |