Browse Source

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

tags/v0.3.2
Big Bad Waffle 5 years ago
parent
commit
fe4d763d21
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/server/components/social.js

+ 1
- 1
src/server/components/social.js View File

@@ -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;
}


Loading…
Cancel
Save