]> git.donarmstrong.com Git - infobot.git/commitdiff
minor fix for ignoreAdd()
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Wed, 31 Jan 2001 13:17:54 +0000 (13:17 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Wed, 31 Jan 2001 13:17:54 +0000 (13:17 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@281 c11ca15a-4712-0410-83d8-924469b57eb5

src/Modules/UserDCC.pl

index f3093aee6a688ccde09f82357f6642d9ebb7ac02..d6df2fdfb9498ffbae3fed0cb89c8496e7d41395 100644 (file)
@@ -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");