You can now admin users by nick
This commit is contained in:
parent
9ce44024c2
commit
f26e2cd094
1 changed files with 1 additions and 5 deletions
|
@ -36,11 +36,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', [])
|
||||||
|
|
||||||
# admins = ["u3601@irccloud.com", "brjannc@smurfed.org"]
|
if input.mask not in admins and input.nick not in admins:
|
||||||
|
|
||||||
mask = input.user + "@" + input.host
|
|
||||||
|
|
||||||
if mask not in admins:
|
|
||||||
return None
|
return None
|
||||||
|
|
||||||
return input
|
return input
|
||||||
|
|
Reference in a new issue