mirror of
https://github.com/hack-chat/main.git
synced 2024-03-22 13:20:33 +08:00
Update chat.js
This commit is contained in:
parent
eb830e11b7
commit
2134334591
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user