mirror of
https://github.com/ENSL/ensl_gathers.git
synced 2025-04-25 00:41:07 +00:00
Fixes #84
This commit is contained in:
parent
b1d8960cc8
commit
ec9b62009c
1 changed files with 1 additions and 0 deletions
|
@ -54,6 +54,7 @@ module.exports = namespace => {
|
||||||
|
|
||||||
namespace.on('connection', socket => {
|
namespace.on('connection', socket => {
|
||||||
socket.on('message:new', data => {
|
socket.on('message:new', data => {
|
||||||
|
if (socket._user.bans.mute) return;
|
||||||
Message.create({
|
Message.create({
|
||||||
author: {
|
author: {
|
||||||
username: socket._user.username,
|
username: socket._user.username,
|
||||||
|
|
Loading…
Reference in a new issue