aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneBase.cs8
1 files changed, 2 insertions, 6 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneBase.cs b/OpenSim/Region/Framework/Scenes/SceneBase.cs
index f49366a..9487be7 100644
--- a/OpenSim/Region/Framework/Scenes/SceneBase.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneBase.cs
@@ -440,15 +440,11 @@ namespace OpenSim.Region.Framework.Scenes
440 /// <returns>null if there is no registered module implementing that interface</returns> 440 /// <returns>null if there is no registered module implementing that interface</returns>
441 public T RequestModuleInterface<T>() 441 public T RequestModuleInterface<T>()
442 { 442 {
443 if (ModuleInterfaces.ContainsKey(typeof(T)) && (ModuleInterfaces[typeof(T)].Count > 0)) 443 if (ModuleInterfaces.ContainsKey(typeof(T)) &&
444 { 444 (ModuleInterfaces[typeof(T)].Count > 0))
445 m_log.Debug("[XXX] RequestModuleInterface " + typeof(T).ToString() + " size: " + ModuleInterfaces[typeof(T)].Count);
446 return (T)ModuleInterfaces[typeof(T)][0]; 445 return (T)ModuleInterfaces[typeof(T)][0];
447 }
448 else 446 else
449 {
450 return default(T); 447 return default(T);
451 }
452 } 448 }
453 449
454 /// <summary> 450 /// <summary>