mirror of
https://github.com/Yonle/bostr.git
synced 2025-07-12 21:12:33 +02:00
@ -66,7 +66,7 @@ module.exports = (ws, req) => {
|
||||
csess.set(ws.id, ws);
|
||||
}
|
||||
|
||||
// CL - Btoadcast message to every existing client sockets
|
||||
// CL - Broadcast message to every existing client sockets
|
||||
function bc_c(msg) {
|
||||
csess.forEach(sock => {
|
||||
if (sock.readyState >= 2) return csess.delete(sock.id);
|
||||
|
Reference in New Issue
Block a user