]> Pileus Git - ~andy/rhawk/blobdiff - rhawk
Add vote relay
[~andy/rhawk] / rhawk
diff --git a/rhawk b/rhawk
index 2b8370613db042c7d3377cc1b861156e9828ac84..58ea55e710ae5c78d06456064dddaaf24424073d 100755 (executable)
--- a/rhawk
+++ b/rhawk
@@ -434,6 +434,11 @@ tolower($0) ~ /\<nuclear launch detected\>/ {
        }
 }
 
+# Vote relay
+DST != "#rhnoise" && /\<[a-zA-Z0-9_]{3,16}(\+\+|--)/ {
+       say("#rhnoise", "(" DST ") " FROM ": " MSG);
+}
+
 # Misc
 { fflush("") }