From 2ccd3d68108e87aec8c0eb875c56551268a1f15d Mon Sep 17 00:00:00 2001 From: dms Date: Wed, 31 Jan 2001 13:17:54 +0000 Subject: [PATCH] minor fix for ignoreAdd() git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk@281 c11ca15a-4712-0410-83d8-924469b57eb5 --- blootbot/src/Modules/UserDCC.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blootbot/src/Modules/UserDCC.pl b/blootbot/src/Modules/UserDCC.pl index f3093ae..d6df2fd 100644 --- a/blootbot/src/Modules/UserDCC.pl +++ b/blootbot/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"); -- 2.39.5