From: dms Date: Wed, 31 Jan 2001 13:17:54 +0000 (+0000) Subject: minor fix for ignoreAdd() X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=f6e02a8f7c1d34004127a100841b166978d7763c;p=infobot.git minor fix for ignoreAdd() git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@281 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/Modules/UserDCC.pl b/src/Modules/UserDCC.pl index f3093ae..d6df2fd 100644 --- a/src/Modules/UserDCC.pl +++ b/src/Modules/UserDCC.pl @@ -1105,7 +1105,7 @@ sub userDCC { $comment = "added by $who"; } - if ( &ignoreAdd($mask, $chan, $time, $comment) ) { + if ( &ignoreAdd($mask, $chan, $time, $comment) > 1) { &pSReply("added $mask to ignore list."); } else { &pSReply("warn: $mask already in ignore list; written over anyway. FIXME");