aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/src/commands/core/chat.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/commands/core/chat.js b/server/src/commands/core/chat.js
index db23a28..0e339ba 100644
--- a/server/src/commands/core/chat.js
+++ b/server/src/commands/core/chat.js
@@ -48,7 +48,7 @@ exports.run = async (core, server, socket, data) => {
payload.trip = socket.trip;
}
- if(core.muzzledHashes[socket.hash]){
+ if(core.muzzledHashes && core.muzzledHashes[socket.hash]){
server.broadcast( payload, { channel: socket.channel, hash: socket.hash });
if(core.muzzledHashes[socket.hash].allies){
let aqs = core.muzzledHashes[socket.hash].allies;