aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMW2007-10-22 13:06:35 +0000
committerMW2007-10-22 13:06:35 +0000
commit155005cba601c2679478d86f7c0882c26cb7b903 (patch)
treec94a348e4a6fe4ce6031847a38fe2b93e10339d1 /OpenSim
parentMade some changes to the load/save xml format, So that the old format can sti... (diff)
downloadopensim-SC_OLD-155005cba601c2679478d86f7c0882c26cb7b903.zip
opensim-SC_OLD-155005cba601c2679478d86f7c0882c26cb7b903.tar.gz
opensim-SC_OLD-155005cba601c2679478d86f7c0882c26cb7b903.tar.bz2
opensim-SC_OLD-155005cba601c2679478d86f7c0882c26cb7b903.tar.xz
Hopefully made it so ChatModule and InstantMessageModule are now running in Shared module mode.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Environment/ModuleLoader.cs17
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 }