Hopefully made it so ChatModule and InstantMessageModule are now running in Shared module mode.

afrisby
MW 2007-10-22 13:06:35 +00:00
parent 2681de366b
commit 155005cba6
1 changed files with 13 additions and 4 deletions

View File

@ -67,6 +67,12 @@ namespace OpenSim.Region.Environment
{
DynamicTextureModule dynamicModule = new DynamicTextureModule();
LoadedSharedModules.Add(dynamicModule.Name, dynamicModule);
ChatModule chat = new ChatModule();
LoadedSharedModules.Add(chat.Name, chat);
InstantMessageModule imMod = new InstantMessageModule();
LoadedSharedModules.Add(imMod.Name, imMod);
LoadImageURLModule loadMod = new LoadImageURLModule();
LoadedSharedModules.Add(loadMod.Name, loadMod);
}
public void InitialiseSharedModules(Scene scene)
@ -109,8 +115,11 @@ namespace OpenSim.Region.Environment
m_log.Verbose("MODULES", "Found Module Library [{0}]", dllName );
foreach (IRegionModule module in modules)
{
m_log.Verbose("MODULES", " [{0}]: Initializing.", module.Name);
InitializeModule(module, scene);
if (!module.IsSharedModule)
{
m_log.Verbose("MODULES", " [{0}]: Initializing.", module.Name);
InitializeModule(module, scene);
}
}
}
}