Case sensitivity is better then derpy case-insensitivity
This commit is contained in:
parent
028b85a3ba
commit
ec0eae4bf6
2 changed files with 4 additions and 4 deletions
|
@ -32,8 +32,8 @@ def sieve_suite(bot, input, func, kind, args):
|
|||
if args.get('adminonly', False):
|
||||
admins = bot.config.get('admins', [])
|
||||
|
||||
if input.nick.lower() not in admins and input.mask.lower() not in admins:
|
||||
if input.nick not in admins and input.mask not in admins:
|
||||
input.notice("Sorry, you are not allowed to use this command.")
|
||||
return None
|
||||
|
||||
return input
|
||||
return input
|
||||
|
|
Reference in a new issue