diff --git a/src/webrtc/events/Close.ts b/src/webrtc/events/Close.ts index 394051fa0..8a87dec4e 100644 --- a/src/webrtc/events/Close.ts +++ b/src/webrtc/events/Close.ts @@ -28,7 +28,7 @@ export async function onClose(this: WebRtcWebSocket, code: number, reason: strin for (const client of connectedClients) { await Send(client.websocket, { - op: VoiceOPCodes.CLIENTS_CONNECT, + op: VoiceOPCodes.CLIENT_DISCONNECT, d: { user_id: this.user_id, },