From 386218d7221db228e0cf60afade5b23e743e95a2 Mon Sep 17 00:00:00 2001 From: HF Date: Thu, 11 Aug 2022 16:26:10 +0200 Subject: [PATCH] make mods and admins bypass country bans --- src/core/ChatProvider.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/ChatProvider.js b/src/core/ChatProvider.js index 061efd2..4d12bc7 100644 --- a/src/core/ChatProvider.js +++ b/src/core/ChatProvider.js @@ -470,6 +470,7 @@ export class ChatProvider { if (channelId === this.enChannelId && this.mutedCountries.includes(country) + && user.userlvl === 0 ) { return t`Your country is temporary muted from this chat channel`; }