From d4c389f0e42ac91ab92cfa19e43ed67a77836756 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 19 Sep 2018 13:22:19 +0200 Subject: [PATCH] remove not as the flags is set to false --- scripts/register_new_matrix_user | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/register_new_matrix_user b/scripts/register_new_matrix_user index b2cf5aeadf..166c03b000 100755 --- a/scripts/register_new_matrix_user +++ b/scripts/register_new_matrix_user @@ -203,6 +203,6 @@ if __name__ == "__main__": else: secret = args.shared_secret - admin = args.admin or not args.no_admin or None + admin = args.admin or args.no_admin or None register_new_user(args.user, args.password, args.server_url, secret, admin)