From c36ca2df89b9530500d05800775fbd9731ec2b0e Mon Sep 17 00:00:00 2001 From: Sfan5 Date: Fri, 13 Sep 2013 15:23:06 +0200 Subject: [PATCH] [AntiAbuse] Fix !ignore and !unignore --- antiabuse.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/antiabuse.py b/antiabuse.py index e798f93..5ed7313 100755 --- a/antiabuse.py +++ b/antiabuse.py @@ -34,7 +34,7 @@ aa_hook.rule = r'h^' def ignore(phenny, input): - if not input.admin or not input.owner: return + if not input.admin and not input.owner: return arg = input.group(2).strip() antiabuse["ignorelist"].append(arg) phenny.reply("'%s' added to ignore list." % arg) @@ -43,7 +43,7 @@ ignore.commands = ['ignore'] ignore.priority = 'high' def unignore(phenny, input): - if not input.admin or not input.owner: return + if not input.admin and not input.owner: return arg = input.group(2).strip() try: antiabuse["ignorelist"].remove(arg)