]> Pileus Git - ~andy/rhawk/commitdiff
Don't replay private score messages
authorAndy Spencer <andy753421@gmail.com>
Tue, 30 Jun 2015 04:14:22 +0000 (04:14 +0000)
committerAndy Spencer <andy753421@gmail.com>
Tue, 30 Jun 2015 04:14:22 +0000 (04:14 +0000)
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);
 }