]> git.donarmstrong.com Git - infobot.git/commitdiff
stop rewt or r00t warn silliness
authortimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Mon, 3 May 2010 23:16:57 +0000 (23:16 +0000)
committertimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Mon, 3 May 2010 23:16:57 +0000 (23:16 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@1895 c11ca15a-4712-0410-83d8-924469b57eb5

src/IRC/IrcHooks.pl

index ff8203b6ed02dfa89562ff2adc9666625a169799..f0c289d171033d9dbcb1301a3416e05119545889 100644 (file)
@@ -620,7 +620,8 @@ sub on_join {
     ### ROOTWARN:
     &rootWarn( $who, $user, $host, $chan )
       if ( &IsChanConf('RootWarn') > 0
-        && $user =~ /^~?r(oo|ew|00)t$/i );
+        && $user eq 'root' );
+        #&& $user =~ /^~?r(oo|ew|00)t$/i );
 
     ### emit a message based on who just joined
     &onjoin( $who, $user, $host, $chan ) if ( &IsChanConf('OnJoin') > 0 );