Let monitor data be requested using either the short form of the name or the

full, namespace qualified version.
mysql-performance
Melanie 2010-01-16 04:57:49 +00:00
parent c9276f2051
commit 74b3ce8572
1 changed files with 4 additions and 1 deletions

View File

@ -87,7 +87,10 @@ namespace OpenSim.Region.CoreModules.Framework.Monitoring
foreach (IMonitor monitor in m_monitors) foreach (IMonitor monitor in m_monitors)
{ {
if (monitor.ToString() == monID) string elemName = monitor.ToString();
if (elemName.StartsWith(monitor.GetType().Namespace))
elemName = elemName.Substring(monitor.GetType().Namespace.Length + 1);
if (elemName == monID || monitor.ToString() == monID)
{ {
Hashtable ereply3 = new Hashtable(); Hashtable ereply3 = new Hashtable();