diff options
Diffstat (limited to 'OpenSim/ApplicationPlugins/RegionModulesController')
-rw-r--r-- | OpenSim/ApplicationPlugins/RegionModulesController/RegionModulesControllerPlugin.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/ApplicationPlugins/RegionModulesController/RegionModulesControllerPlugin.cs b/OpenSim/ApplicationPlugins/RegionModulesController/RegionModulesControllerPlugin.cs index 518982e..a868bd0 100644 --- a/OpenSim/ApplicationPlugins/RegionModulesController/RegionModulesControllerPlugin.cs +++ b/OpenSim/ApplicationPlugins/RegionModulesController/RegionModulesControllerPlugin.cs | |||
@@ -268,7 +268,7 @@ namespace OpenSim.ApplicationPlugins.RegionModulesController | |||
268 | deferredlist.Add(module); | 268 | deferredlist.Add(module); |
269 | } | 269 | } |
270 | 270 | ||
271 | foreach (INonSharedRegionModule module in deferredlist) | 271 | foreach (IRegionModuleBase module in deferredlist) |
272 | { | 272 | { |
273 | module.AddRegion(scene); | 273 | module.AddRegion(scene); |
274 | scene.AddRegionModule(module.Name, module); | 274 | scene.AddRegionModule(module.Name, module); |
@@ -284,13 +284,13 @@ namespace OpenSim.ApplicationPlugins.RegionModulesController | |||
284 | // and unneccessary caching logic repeated in all modules. | 284 | // and unneccessary caching logic repeated in all modules. |
285 | // The extra function stub is just that much cleaner | 285 | // The extra function stub is just that much cleaner |
286 | // | 286 | // |
287 | foreach (ISharedRegionModule module in sharedlist) | 287 | foreach (IRegionModuleBase module in sharedlist) |
288 | { | 288 | { |
289 | try { module.RegionLoaded(scene); } | 289 | try { module.RegionLoaded(scene); } |
290 | catch (Exception ex) { m_log.Error("[REGIONMODULE]: Exception while loading shared region module " + module + ": " + ex.Message, ex); } | 290 | catch (Exception ex) { m_log.Error("[REGIONMODULE]: Exception while loading shared region module " + module + ": " + ex.Message, ex); } |
291 | } | 291 | } |
292 | 292 | ||
293 | foreach (INonSharedRegionModule module in list) | 293 | foreach (IRegionModuleBase module in list) |
294 | { | 294 | { |
295 | try { 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); } | 296 | catch (Exception ex) { m_log.Error("[REGIONMODULE]: Exception while loading non-shared region module " + module + ": " + ex.Message, ex); } |