Explorar el Código

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

tags/v0.3.2
Big Bad Waffle hace 5 años
padre
commit
fe4d763d21
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/server/components/social.js

+ 1
- 1
src/server/components/social.js Ver fichero

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


Cargando…
Cancelar
Guardar