Changed method of checking for admin powers, small tweaks
This commit is contained in:
parent
7e00677c03
commit
c168a179e3
4 changed files with 32 additions and 63 deletions
|
@ -37,6 +37,6 @@ def sieve_suite(bot, input, func, kind, args):
|
|||
admins = bot.config.get('admins', [])
|
||||
|
||||
if input.host not in admins and input.nick not in admins:
|
||||
return None
|
||||
return
|
||||
|
||||
return input
|
||||
|
|
Reference in a new issue