make mods and admins bypass country bans
This commit is contained in:
parent
e986b0e5e9
commit
386218d722
|
@ -470,6 +470,7 @@ export class ChatProvider {
|
||||||
|
|
||||||
if (channelId === this.enChannelId
|
if (channelId === this.enChannelId
|
||||||
&& this.mutedCountries.includes(country)
|
&& this.mutedCountries.includes(country)
|
||||||
|
&& user.userlvl === 0
|
||||||
) {
|
) {
|
||||||
return t`Your country is temporary muted from this chat channel`;
|
return t`Your country is temporary muted from this chat channel`;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user