[AntiAbuse] Fix !ignore and !unignore
This commit is contained in:
parent
753747f825
commit
c36ca2df89
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user