Hopefully made it so ChatModule and InstantMessageModule are now running in Shared module mode.
parent
2681de366b
commit
155005cba6
|
@ -67,6 +67,12 @@ namespace OpenSim.Region.Environment
|
||||||
{
|
{
|
||||||
DynamicTextureModule dynamicModule = new DynamicTextureModule();
|
DynamicTextureModule dynamicModule = new DynamicTextureModule();
|
||||||
LoadedSharedModules.Add(dynamicModule.Name, dynamicModule);
|
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)
|
public void InitialiseSharedModules(Scene scene)
|
||||||
|
@ -108,12 +114,15 @@ namespace OpenSim.Region.Environment
|
||||||
{
|
{
|
||||||
m_log.Verbose("MODULES", "Found Module Library [{0}]", dllName );
|
m_log.Verbose("MODULES", "Found Module Library [{0}]", dllName );
|
||||||
foreach (IRegionModule module in modules)
|
foreach (IRegionModule module in modules)
|
||||||
|
{
|
||||||
|
if (!module.IsSharedModule)
|
||||||
{
|
{
|
||||||
m_log.Verbose("MODULES", " [{0}]: Initializing.", module.Name);
|
m_log.Verbose("MODULES", " [{0}]: Initializing.", module.Name);
|
||||||
InitializeModule(module, scene);
|
InitializeModule(module, scene);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void LoadRegionModule(string dllName, string moduleName, Scene scene)
|
public void LoadRegionModule(string dllName, string moduleName, Scene scene)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue