diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/ModuleLoader.cs | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/ModuleLoader.cs b/OpenSim/Region/Environment/ModuleLoader.cs index f88f9ac..c13bd13 100644 --- a/OpenSim/Region/Environment/ModuleLoader.cs +++ b/OpenSim/Region/Environment/ModuleLoader.cs | |||
@@ -66,7 +66,13 @@ namespace OpenSim.Region.Environment | |||
66 | public void LoadDefaultSharedModules() | 66 | public void LoadDefaultSharedModules() |
67 | { | 67 | { |
68 | DynamicTextureModule dynamicModule = new DynamicTextureModule(); | 68 | DynamicTextureModule dynamicModule = new DynamicTextureModule(); |
69 | LoadedSharedModules.Add(dynamicModule.Name, dynamicModule); | 69 | LoadedSharedModules.Add(dynamicModule.Name, dynamicModule); |
70 | ChatModule chat = new ChatModule(); | ||
71 | LoadedSharedModules.Add(chat.Name, chat); | ||
72 | InstantMessageModule imMod = new InstantMessageModule(); | ||
73 | LoadedSharedModules.Add(imMod.Name, imMod); | ||
74 | LoadImageURLModule loadMod = new LoadImageURLModule(); | ||
75 | LoadedSharedModules.Add(loadMod.Name, loadMod); | ||
70 | } | 76 | } |
71 | 77 | ||
72 | public void InitialiseSharedModules(Scene scene) | 78 | public void InitialiseSharedModules(Scene scene) |
@@ -108,9 +114,12 @@ namespace OpenSim.Region.Environment | |||
108 | { | 114 | { |
109 | m_log.Verbose("MODULES", "Found Module Library [{0}]", dllName ); | 115 | m_log.Verbose("MODULES", "Found Module Library [{0}]", dllName ); |
110 | foreach (IRegionModule module in modules) | 116 | foreach (IRegionModule module in modules) |
111 | { | 117 | { |
112 | m_log.Verbose("MODULES", " [{0}]: Initializing.", module.Name); | 118 | if (!module.IsSharedModule) |
113 | InitializeModule(module, scene); | 119 | { |
120 | m_log.Verbose("MODULES", " [{0}]: Initializing.", module.Name); | ||
121 | InitializeModule(module, scene); | ||
122 | } | ||
114 | } | 123 | } |
115 | } | 124 | } |
116 | } | 125 | } |