Remove some no longer needed debug.

Fixes Mantis #9520
0.6.5-rc1
Melanie Thielker 2009-05-13 00:58:10 +00:00
parent f63b83b085
commit e206a9ce88
1 changed files with 2 additions and 6 deletions

View File

@ -440,15 +440,11 @@ namespace OpenSim.Region.Framework.Scenes
/// <returns>null if there is no registered module implementing that interface</returns> /// <returns>null if there is no registered module implementing that interface</returns>
public T RequestModuleInterface<T>() public T RequestModuleInterface<T>()
{ {
if (ModuleInterfaces.ContainsKey(typeof(T)) && (ModuleInterfaces[typeof(T)].Count > 0)) if (ModuleInterfaces.ContainsKey(typeof(T)) &&
{ (ModuleInterfaces[typeof(T)].Count > 0))
m_log.Debug("[XXX] RequestModuleInterface " + typeof(T).ToString() + " size: " + ModuleInterfaces[typeof(T)].Count);
return (T)ModuleInterfaces[typeof(T)][0]; return (T)ModuleInterfaces[typeof(T)][0];
}
else else
{
return default(T); return default(T);
}
} }
/// <summary> /// <summary>