From 700ddc2dee9579dc4744993a45223768dd16574a Mon Sep 17 00:00:00 2001 From: Aevann Date: Wed, 15 Mar 2023 03:54:55 +0200 Subject: [PATCH] remove "make admin" for alrdy admins --- files/templates/userpage/admintools.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/templates/userpage/admintools.html b/files/templates/userpage/admintools.html index e174406f3..f0f16ecf6 100644 --- a/files/templates/userpage/admintools.html +++ b/files/templates/userpage/admintools.html @@ -75,7 +75,7 @@ {% endif %}
- {% if v.admin_level >= PERMS['ADMIN_ADD'] %} + {% if v.admin_level >= PERMS['ADMIN_ADD'] and not u.admin_level %} {% endif %} {% if v.admin_level >= PERMS['ADMIN_REMOVE'] %}