Fixed Admin-by-nick bug
This commit is contained in:
parent
950aa9e5a9
commit
bfa42ea220
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ def sieve_suite(bot, input, func, kind, args):
|
||||||
if args.get('adminonly', False):
|
if args.get('adminonly', False):
|
||||||
admins = bot.config.get('admins', [])
|
admins = bot.config.get('admins', [])
|
||||||
|
|
||||||
if input.nick not in admins and input.mask not in admins:
|
if input.nick.lower() not in admins and input.mask.lower() not in admins:
|
||||||
input.notice("Sorry, you are not allowed to use this command.")
|
input.notice("Sorry, you are not allowed to use this command.")
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
Reference in a new issue