diff options
Diffstat (limited to 'OpenSim/Region/Application/OpenSimMain.cs')
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index eeb69c5..2fc2d0a 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs | |||
@@ -202,7 +202,7 @@ namespace OpenSim | |||
202 | configFiles = Directory.GetFiles(regionConfigPath, "*.xml"); | 202 | configFiles = Directory.GetFiles(regionConfigPath, "*.xml"); |
203 | } | 203 | } |
204 | 204 | ||
205 | m_moduleLoader = new ModuleLoader(); | 205 | m_moduleLoader = new ModuleLoader( m_log ); |
206 | MainLog.Instance.Verbose("Loading Shared Modules"); | 206 | MainLog.Instance.Verbose("Loading Shared Modules"); |
207 | m_moduleLoader.LoadDefaultSharedModules(m_exceptSharedModules); | 207 | m_moduleLoader.LoadDefaultSharedModules(m_exceptSharedModules); |
208 | 208 | ||
@@ -220,7 +220,9 @@ namespace OpenSim | |||
220 | 220 | ||
221 | m_moduleLoader.InitialiseSharedModules(scene); | 221 | m_moduleLoader.InitialiseSharedModules(scene); |
222 | MainLog.Instance.Verbose("Loading Region's Modules"); | 222 | MainLog.Instance.Verbose("Loading Region's Modules"); |
223 | m_moduleLoader.CreateDefaultModules(scene, m_exceptModules); | 223 | |
224 | //m_moduleLoader.CreateDefaultModules(scene, m_exceptModules); | ||
225 | m_moduleLoader.PickupModules( scene ); | ||
224 | scene.SetModuleInterfaces(); | 226 | scene.SetModuleInterfaces(); |
225 | 227 | ||
226 | // Check if we have a script engine to load | 228 | // Check if we have a script engine to load |
@@ -616,7 +618,7 @@ namespace OpenSim | |||
616 | m_log.Error("The currently loaded shared modules are:"); | 618 | m_log.Error("The currently loaded shared modules are:"); |
617 | foreach (OpenSim.Region.Environment.Interfaces.IRegionModule module in m_moduleLoader.LoadedSharedModules.Values) | 619 | foreach (OpenSim.Region.Environment.Interfaces.IRegionModule module in m_moduleLoader.LoadedSharedModules.Values) |
618 | { | 620 | { |
619 | m_log.Error("Shared Module: " + module.GetName()); | 621 | m_log.Error("Shared Module: " + module.Name); |
620 | } | 622 | } |
621 | break; | 623 | break; |
622 | } | 624 | } |