mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 09:16:28 +08:00
Make proper fix for last commit wrt Mantis 7317 by replacing disallowed c char and not literal 'c'
This commit is contained in:
@@ -171,7 +171,7 @@ namespace OpenSim.Framework.Monitoring
|
||||
foreach (char c in DisallowedShortNameCharacters)
|
||||
{
|
||||
if (shortName.IndexOf(c) != -1)
|
||||
shortName = shortName.Replace('c', '#');
|
||||
shortName = shortName.Replace(c, '#');
|
||||
// throw new Exception(string.Format("Stat name {0} cannot contain character {1}", shortName, c));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user