diff --git a/OpenSim/Region/Environment/Modules/ChatModule.cs b/OpenSim/Region/Environment/Modules/ChatModule.cs index 75d3670114..3ad68cd5ad 100644 --- a/OpenSim/Region/Environment/Modules/ChatModule.cs +++ b/OpenSim/Region/Environment/Modules/ChatModule.cs @@ -301,7 +301,9 @@ namespace OpenSim.Region.Environment.Modules Regex RE = new Regex(regex, RegexOptions.Multiline); MatchCollection matches = RE.Matches(input); // Get some direct matches $1 $4 is a - if ((matches.Count == 1) && (matches[0].Groups.Count == 5)) + if ((matches.Count == 1) && (matches[0].Groups.Count == 5) && + (matches[0].Groups[2].Value != "Primitive") + ) { result = new Dictionary(); result.Add("nick", matches[0].Groups[1].Value);