diff options
Replace the Replaceable modules name
Diffstat (limited to 'OpenSim/ApplicationPlugins/RegionModulesController')
-rw-r--r-- | OpenSim/ApplicationPlugins/RegionModulesController/RegionModulesControllerPlugin.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/ApplicationPlugins/RegionModulesController/RegionModulesControllerPlugin.cs b/OpenSim/ApplicationPlugins/RegionModulesController/RegionModulesControllerPlugin.cs index 6331519..f30a18b 100644 --- a/OpenSim/ApplicationPlugins/RegionModulesController/RegionModulesControllerPlugin.cs +++ b/OpenSim/ApplicationPlugins/RegionModulesController/RegionModulesControllerPlugin.cs | |||
@@ -160,7 +160,7 @@ namespace OpenSim.ApplicationPlugins.RegionModulesController | |||
160 | List<ISharedRegionModule> sharedlist = new List<ISharedRegionModule>(); | 160 | List<ISharedRegionModule> sharedlist = new List<ISharedRegionModule>(); |
161 | foreach (ISharedRegionModule module in m_sharedInstances) | 161 | foreach (ISharedRegionModule module in m_sharedInstances) |
162 | { | 162 | { |
163 | Type replaceableInterface = module.ReplacableInterface; | 163 | Type replaceableInterface = module.ReplaceableInterface; |
164 | if (replaceableInterface != null) | 164 | if (replaceableInterface != null) |
165 | { | 165 | { |
166 | MethodInfo mii = mi.MakeGenericMethod(replaceableInterface); | 166 | MethodInfo mii = mi.MakeGenericMethod(replaceableInterface); |
@@ -190,7 +190,7 @@ namespace OpenSim.ApplicationPlugins.RegionModulesController | |||
190 | { | 190 | { |
191 | INonSharedRegionModule module = (INonSharedRegionModule)Activator.CreateInstance(type); | 191 | INonSharedRegionModule module = (INonSharedRegionModule)Activator.CreateInstance(type); |
192 | 192 | ||
193 | Type replaceableInterface = module.ReplacableInterface; | 193 | Type replaceableInterface = module.ReplaceableInterface; |
194 | if (replaceableInterface != null) | 194 | if (replaceableInterface != null) |
195 | { | 195 | { |
196 | MethodInfo mii = mi.MakeGenericMethod(replaceableInterface); | 196 | MethodInfo mii = mi.MakeGenericMethod(replaceableInterface); |
@@ -226,7 +226,7 @@ namespace OpenSim.ApplicationPlugins.RegionModulesController | |||
226 | 226 | ||
227 | foreach (ISharedRegionModule module in deferredSharedModules.Values) | 227 | foreach (ISharedRegionModule module in deferredSharedModules.Values) |
228 | { | 228 | { |
229 | Type replaceableInterface = module.ReplacableInterface; | 229 | Type replaceableInterface = module.ReplaceableInterface; |
230 | MethodInfo mii = mi.MakeGenericMethod(replaceableInterface); | 230 | MethodInfo mii = mi.MakeGenericMethod(replaceableInterface); |
231 | 231 | ||
232 | if (mii.Invoke(scene, new object[0]) != null) | 232 | if (mii.Invoke(scene, new object[0]) != null) |
@@ -247,7 +247,7 @@ namespace OpenSim.ApplicationPlugins.RegionModulesController | |||
247 | List<INonSharedRegionModule> deferredlist = new List<INonSharedRegionModule>(); | 247 | List<INonSharedRegionModule> deferredlist = new List<INonSharedRegionModule>(); |
248 | foreach (INonSharedRegionModule module in deferredNonSharedModules.Values) | 248 | foreach (INonSharedRegionModule module in deferredNonSharedModules.Values) |
249 | { | 249 | { |
250 | Type replaceableInterface = module.ReplacableInterface; | 250 | Type replaceableInterface = module.ReplaceableInterface; |
251 | if (replaceableInterface != null) | 251 | if (replaceableInterface != null) |
252 | { | 252 | { |
253 | MethodInfo mii = mi.MakeGenericMethod(replaceableInterface); | 253 | MethodInfo mii = mi.MakeGenericMethod(replaceableInterface); |