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)