Pārlūkot izejas kodu

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

tags/v0.3.2
Big Bad Waffle pirms 5 gadiem
vecāks
revīzija
fe4d763d21
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      src/server/components/social.js

+ 1
- 1
src/server/components/social.js Parādīt failu

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


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


Notiek ielāde…
Atcelt
Saglabāt