aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/RegionModulesController/RegionModulesControllerPlugin.cs
diff options
context:
space:
mode:
authorMelanie2009-08-10 23:08:22 +0100
committerMelanie2009-08-10 23:08:22 +0100
commiteba23048ca2d6dd1b934e11dc426093e5b2134c7 (patch)
treeda54852717bb696798d2e45fa0bcbf89f61f9228 /OpenSim/ApplicationPlugins/RegionModulesController/RegionModulesControllerPlugin.cs
parentLast piece of cleaning up old inventory. Old IInventoryServices and ISecureIn... (diff)
downloadopensim-SC_OLD-eba23048ca2d6dd1b934e11dc426093e5b2134c7.zip
opensim-SC_OLD-eba23048ca2d6dd1b934e11dc426093e5b2134c7.tar.gz
opensim-SC_OLD-eba23048ca2d6dd1b934e11dc426093e5b2134c7.tar.bz2
opensim-SC_OLD-eba23048ca2d6dd1b934e11dc426093e5b2134c7.tar.xz
Replace the Replaceable modules name
Diffstat (limited to 'OpenSim/ApplicationPlugins/RegionModulesController/RegionModulesControllerPlugin.cs')
-rw-r--r--OpenSim/ApplicationPlugins/RegionModulesController/RegionModulesControllerPlugin.cs8
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);