From ee8df1e3f18b53ce08b07dd4b5bf0abc36a6a28c Mon Sep 17 00:00:00 2001 From: justcool393 Date: Wed, 16 Nov 2022 06:38:24 -0600 Subject: [PATCH] chat: mops are unmutable --- files/routes/chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/chat.py b/files/routes/chat.py index 379d2dd0c..68e70ad0b 100644 --- a/files/routes/chat.py +++ b/files/routes/chat.py @@ -53,7 +53,7 @@ def speak(data, v): if TRUESCORE_CHAT_LIMIT and v.truescore < TRUESCORE_CHAT_LIMIT and not v.club_allowed: return '', 403 vname = v.username.lower() - if vname in muted: + if vname in muted and not v.admin_level >= PERMS['USER_BAN']: if time.time() < muted[vname]: return '', 403 else: del muted[vname]