diff options
-rw-r--r-- | OpenSim/Region/Environment/Modules/ChatModule.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Modules/ChatModule.cs b/OpenSim/Region/Environment/Modules/ChatModule.cs index 75d3670..3ad68cd 100644 --- a/OpenSim/Region/Environment/Modules/ChatModule.cs +++ b/OpenSim/Region/Environment/Modules/ChatModule.cs | |||
@@ -301,7 +301,9 @@ namespace OpenSim.Region.Environment.Modules | |||
301 | Regex RE = new Regex(regex, RegexOptions.Multiline); | 301 | Regex RE = new Regex(regex, RegexOptions.Multiline); |
302 | MatchCollection matches = RE.Matches(input); | 302 | MatchCollection matches = RE.Matches(input); |
303 | // Get some direct matches $1 $4 is a | 303 | // Get some direct matches $1 $4 is a |
304 | if ((matches.Count == 1) && (matches[0].Groups.Count == 5)) | 304 | if ((matches.Count == 1) && (matches[0].Groups.Count == 5) && |
305 | (matches[0].Groups[2].Value != "Primitive") | ||
306 | ) | ||
305 | { | 307 | { |
306 | result = new Dictionary<string, string>(); | 308 | result = new Dictionary<string, string>(); |
307 | result.Add("nick", matches[0].Groups[1].Value); | 309 | result.Add("nick", matches[0].Groups[1].Value); |