master
sfan5 2014-08-19 17:33:19 +02:00
parent b0b742ac2f
commit 3db304dfb5
1 changed files with 7 additions and 7 deletions

View File

@ -85,11 +85,8 @@ def ignore(phenny, input):
if not input.admin:
return
arg = hmasktrans(input.group(2).strip())
r = api_ignore(arg)
if r:
phenny.reply("'%s' added to ignore list." % arg)
else:
phenny.reply("'%s' not in ignore list." % arg)
api_ignore(arg)
phenny.reply("'%s' added to ignore list." % arg)
ignore.commands = ['ignore']
ignore.priority = 'high'
@ -98,8 +95,11 @@ def unignore(phenny, input):
if not input.admin:
return
arg = hmasktrans(input.group(2).strip())
api_unignore(arg)
phenny.reply("'%s' removed from ignore list." % arg)
r = api_unignore(arg)
if r:
phenny.reply("'%s' removed from ignore list." % arg)
else:
phenny.reply("'%s' not in ignore list." % arg)
unignore.commands = ['unignore']
unignore.priority = 'high'