]> git.donarmstrong.com Git - infobot.git/commitdiff
- match ~root aswell.
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Sun, 23 Feb 2003 16:12:27 +0000 (16:12 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Sun, 23 Feb 2003 16:12:27 +0000 (16:12 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@768 c11ca15a-4712-0410-83d8-924469b57eb5

src/IRC/IrcHooks.pl

index e8c4efa001bb74156ec8ea511e1123b1f406176a..87c5f904e8b8a7aaa6ebbeb1d3fd27b90feac1d4 100644 (file)
@@ -570,7 +570,7 @@ sub on_join {
     ### ROOTWARN:
     &rootWarn($who,$user,$host,$chan) if (
                &IsChanConf("rootWarn") &&
-               $user =~ /^r(oo|ew|00)t$/i
+               $user =~ /^~?r(oo|ew|00)t$/i
     );
 
     ### NEWS: