aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorSean Dague2007-12-17 17:28:59 +0000
committerSean Dague2007-12-17 17:28:59 +0000
commitfac91d0ff5c3ad5913e5168386854118571b077a (patch)
tree2facf9bdce84881ae0b0c3cab80b4d2b7cf9ff42
parentThank you to Kiryu for a patch to fix an out of Sync (diff)
downloadopensim-SC_OLD-fac91d0ff5c3ad5913e5168386854118571b077a.zip
opensim-SC_OLD-fac91d0ff5c3ad5913e5168386854118571b077a.tar.gz
opensim-SC_OLD-fac91d0ff5c3ad5913e5168386854118571b077a.tar.bz2
opensim-SC_OLD-fac91d0ff5c3ad5913e5168386854118571b077a.tar.xz
ignore Primitive for the IRC relay
-rw-r--r--OpenSim/Region/Environment/Modules/ChatModule.cs4
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);