forked from ppfun/pixelplanet
remove discord auto chatban again
This commit is contained in:
parent
cf7217f66e
commit
3e58eb6111
|
@ -403,7 +403,7 @@ export class ChatProvider {
|
||||||
const country = user.regUser.flag || 'xx';
|
const country = user.regUser.flag || 'xx';
|
||||||
|
|
||||||
if (name.trim() === ''
|
if (name.trim() === ''
|
||||||
|| (Number(channelId) === 4374 && message.includes('discord'))
|
// || (Number(channelId) === 4374 && message.includes('discord'))
|
||||||
|| (this.autobanPhrase && message.includes(this.autobanPhrase))
|
|| (this.autobanPhrase && message.includes(this.autobanPhrase))
|
||||||
) {
|
) {
|
||||||
const { ipSub } = user;
|
const { ipSub } = user;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user