]> Pileus Git - ~andy/rhawk/blobdiff - rhawk
Don't replay private score messages
[~andy/rhawk] / rhawk
diff --git a/rhawk b/rhawk
index b2173fc1a7d05d169a2d5324004e4fe0c98aa932..f1478f67d74f64c6db025f533e25bdff303fdc06 100755 (executable)
--- a/rhawk
+++ b/rhawk
@@ -424,7 +424,8 @@ tolower($0) ~ /\<nuclear launch detected\>/ {
 }
 
 # Vote relay
-DST != "#rhnoise" && /\<[a-zA-Z0-9_]{3,16}(\+\+|--)/ {
+DST != "#rhnoise" && DST != NICK &&
+/\<[a-zA-Z0-9_]{3,16}(\+\+|--)/ {
        say("#rhnoise", "(" DST ") " FROM ": " MSG);
 }