[AntiAbuse] Fix !ignore and !unignore

master
Sfan5 2013-09-13 15:23:06 +02:00
parent 753747f825
commit c36ca2df89
1 changed files with 2 additions and 2 deletions

View File

@ -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)