aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Framework/Monitoring/Stats/Stat.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Monitoring/Stats/Stat.cs b/OpenSim/Framework/Monitoring/Stats/Stat.cs
index df55314..a7cb2a6 100644
--- a/OpenSim/Framework/Monitoring/Stats/Stat.cs
+++ b/OpenSim/Framework/Monitoring/Stats/Stat.cs
@@ -171,7 +171,7 @@ namespace OpenSim.Framework.Monitoring
171 foreach (char c in DisallowedShortNameCharacters) 171 foreach (char c in DisallowedShortNameCharacters)
172 { 172 {
173 if (shortName.IndexOf(c) != -1) 173 if (shortName.IndexOf(c) != -1)
174 shortName = shortName.Replace('c', '#'); 174 shortName = shortName.Replace(c, '#');
175// throw new Exception(string.Format("Stat name {0} cannot contain character {1}", shortName, c)); 175// throw new Exception(string.Format("Stat name {0} cannot contain character {1}", shortName, c));
176 } 176 }
177 177