diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs b/OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs index d84f4ea..96d65d7 100644 --- a/OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs +++ b/OpenSim/Region/CoreModules/Framework/Monitoring/MonitorModule.cs | |||
@@ -112,7 +112,11 @@ namespace OpenSim.Region.CoreModules.Framework.Monitoring | |||
112 | string xml = "<data>"; | 112 | string xml = "<data>"; |
113 | foreach (IMonitor monitor in m_monitors) | 113 | foreach (IMonitor monitor in m_monitors) |
114 | { | 114 | { |
115 | xml += "<" + monitor.ToString() + ">" + monitor.GetValue() + "</" + monitor.ToString() + ">"; | 115 | string elemName = monitor.ToString(); |
116 | if (elemName.StartsWith(monitor.GetType().Namespace)) | ||
117 | elemName = elemName.Substring(monitor.GetType().Namespace.Length + 1); | ||
118 | |||
119 | xml += "<" + elemName + ">" + monitor.GetValue() + "</" + elemName + ">"; | ||
116 | } | 120 | } |
117 | xml += "</data>"; | 121 | xml += "</data>"; |
118 | 122 | ||