chat: mops are unmutable

remotes/1693176582716663532/tmp_refs/heads/watchparty
justcool393 2022-11-16 06:38:24 -06:00
parent 86ddde2d88
commit ee8df1e3f1
1 changed files with 1 additions and 1 deletions

View File

@ -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]