Fixed adminonly
This commit is contained in:
parent
e74a92e252
commit
4d74493610
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ def sieve_suite(bot, input, func, kind, args):
|
||||||
|
|
||||||
# shim so plugins using the old "adminonly" permissions format still work
|
# shim so plugins using the old "adminonly" permissions format still work
|
||||||
if args.get('adminonly', False):
|
if args.get('adminonly', False):
|
||||||
args['perms'] = ["adminonly"]
|
args["permissions"] = ["adminonly"]
|
||||||
|
|
||||||
|
|
||||||
if args.get('permissions', False):
|
if args.get('permissions', False):
|
||||||
|
|
Reference in a new issue