diff --git a/files/routes/admin.py b/files/routes/admin.py index 26b16c8e1..b73c52706 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -60,7 +60,7 @@ def toggle_club_ban(v, username): u.club_banned = not u.club_banned for x in u.alts: - x.club_banned = not x.club_banned + x.club_banned = u.club_banned return { "message": f"@{username} has been kicked from the country club. Deserved." if u.club_banned else f"@{username}'s ban from club removed" diff --git a/files/templates/userpage.html b/files/templates/userpage.html index 2e5c3ca9c..fc481d23d 100644 --- a/files/templates/userpage.html +++ b/files/templates/userpage.html @@ -328,12 +328,8 @@ - {% if u.club_banned %} - - {% else %} - - {% endif %} - {% endif %} + +

 					

User ID: {{u.id}}

{% if v and v.admin_level >=4 %} @@ -513,11 +509,8 @@ {% if v.admin_level > 1 %} - {% if u.club_banned %} - - {% else %} - - {% endif %} + +