aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/ApplicationPlugins/RegionModulesController/RegionModulesControllerPlugin.cs14
1 files changed, 4 insertions, 10 deletions
diff --git a/OpenSim/ApplicationPlugins/RegionModulesController/RegionModulesControllerPlugin.cs b/OpenSim/ApplicationPlugins/RegionModulesController/RegionModulesControllerPlugin.cs
index a8b6682..518982e 100644
--- a/OpenSim/ApplicationPlugins/RegionModulesController/RegionModulesControllerPlugin.cs
+++ b/OpenSim/ApplicationPlugins/RegionModulesController/RegionModulesControllerPlugin.cs
@@ -286,20 +286,14 @@ namespace OpenSim.ApplicationPlugins.RegionModulesController
286 // 286 //
287 foreach (ISharedRegionModule module in sharedlist) 287 foreach (ISharedRegionModule module in sharedlist)
288 { 288 {
289 if (!module.ToString().Contains("RegionCombinerModule")) 289 try { module.RegionLoaded(scene); }
290 { 290 catch (Exception ex) { m_log.Error("[REGIONMODULE]: Exception while loading shared region module " + module + ": " + ex.Message, ex); }
291 m_log.Debug("[REGIONMODULE]: Calling RegionLoaded for " + module);
292 module.RegionLoaded(scene);
293 }
294 else
295 {
296 m_log.Debug("[REGIONMODULE]: Skipping RegionCombinerModule");
297 }
298 } 291 }
299 292
300 foreach (INonSharedRegionModule module in list) 293 foreach (INonSharedRegionModule module in list)
301 { 294 {
302 module.RegionLoaded(scene); 295 try { module.RegionLoaded(scene); }
296 catch (Exception ex) { m_log.Error("[REGIONMODULE]: Exception while loading non-shared region module " + module + ": " + ex.Message, ex); }
303 } 297 }
304 } 298 }
305 299