From: dms Date: Sun, 23 Feb 2003 16:12:27 +0000 (+0000) Subject: - match ~root aswell. X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=b184ad8f0de74a84c75c1ff13ea4bcd037be8c06;p=infobot.git - match ~root aswell. git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@768 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/IRC/IrcHooks.pl b/src/IRC/IrcHooks.pl index e8c4efa..87c5f90 100644 --- a/src/IRC/IrcHooks.pl +++ b/src/IRC/IrcHooks.pl @@ -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: