diff options
Diffstat (limited to 'OpenSim/Region/Environment/ModuleLoader.cs')
-rw-r--r-- | OpenSim/Region/Environment/ModuleLoader.cs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/ModuleLoader.cs b/OpenSim/Region/Environment/ModuleLoader.cs index 1200c8d..2690322 100644 --- a/OpenSim/Region/Environment/ModuleLoader.cs +++ b/OpenSim/Region/Environment/ModuleLoader.cs | |||
@@ -137,6 +137,17 @@ namespace OpenSim.Region.Environment | |||
137 | //TextureDownloadModule textureModule = new TextureDownloadModule(); | 137 | //TextureDownloadModule textureModule = new TextureDownloadModule(); |
138 | 138 | ||
139 | //LoadedSharedModules.Add(textureModule.Name, textureModule); | 139 | //LoadedSharedModules.Add(textureModule.Name, textureModule); |
140 | |||
141 | AgentAssetTransactionModule transactionsModule = new AgentAssetTransactionModule(); | ||
142 | if (m_loadedSharedModules.ContainsKey(transactionsModule.Name)) | ||
143 | { | ||
144 | m_log.ErrorFormat("[MODULES]: Module name \"{0}\" already exists in module list. Module type {1} not added!", xmlRpcMod.Name, "XMLRPCModule"); | ||
145 | } | ||
146 | else | ||
147 | { | ||
148 | m_loadedSharedModules.Add(transactionsModule.Name, transactionsModule); | ||
149 | } | ||
150 | |||
140 | } | 151 | } |
141 | 152 | ||
142 | public void InitialiseSharedModules(Scene scene) | 153 | public void InitialiseSharedModules(Scene scene) |