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