From e7a709068ad6302679ffd5662b0e30a03e862d4c Mon Sep 17 00:00:00 2001 From: MW Date: Wed, 20 Feb 2008 10:07:54 +0000 Subject: small change --- OpenSim/Region/Environment/ModuleLoader.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'OpenSim/Region/Environment') 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 //TextureDownloadModule textureModule = new TextureDownloadModule(); //LoadedSharedModules.Add(textureModule.Name, textureModule); + + AgentAssetTransactionModule transactionsModule = new AgentAssetTransactionModule(); + if (m_loadedSharedModules.ContainsKey(transactionsModule.Name)) + { + m_log.ErrorFormat("[MODULES]: Module name \"{0}\" already exists in module list. Module type {1} not added!", xmlRpcMod.Name, "XMLRPCModule"); + } + else + { + m_loadedSharedModules.Add(transactionsModule.Name, transactionsModule); + } + } public void InitialiseSharedModules(Scene scene) -- cgit v1.1