Added message to adminonly commands

This commit is contained in:
neersighted 2012-04-01 19:01:20 -07:00
parent ba65a90f6f
commit 03daf6a006

View file

@ -33,6 +33,7 @@ def sieve_suite(bot, input, func, kind, args):
admins = bot.config.get('admins', [])
if input.mask not in admins and input.nick not in admins:
input.notice("Sorry, you are not allowed to use this command.")
return None
return input