Просмотр исходного кода

Merge branch 'master' of gitlab.com:Isleward/isleward

tags/v0.3.2
Big Bad Waffle 5 лет назад
Родитель
Сommit
fe4d763d21
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      src/server/components/social.js

+ 1
- 1
src/server/components/social.js Просмотреть файл

@@ -181,7 +181,7 @@ module.exports = {
if (msg.data.ignore)
return;

if (!profanities.isClean(messageString)) {
if (!msg.data.item && !profanities.isClean(messageString)) {
this.sendMessage('Profanities detected in message. Blocked.', 'color-redA');
return;
}


Загрузка…
Отмена
Сохранить