Fixed adminonly

This commit is contained in:
Luke Rogers 2013-08-05 11:16:06 +12:00
parent e74a92e252
commit 4d74493610

View file

@ -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):