From 453028678a47851effcccd5f73dba4b204048c73 Mon Sep 17 00:00:00 2001 From: Lawin <56766256+Lawin0129@users.noreply.github.com> Date: Tue, 19 Mar 2024 17:57:50 +0000 Subject: [PATCH] ok --- structure/xmpp.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/structure/xmpp.js b/structure/xmpp.js index 23add7f..adeb4ad 100644 --- a/structure/xmpp.js +++ b/structure/xmpp.js @@ -16,6 +16,8 @@ wss.on("error", (err) => { global.Clients = []; wss.on('connection', async (ws) => { + ws.on('error', () => {}); + if (ws.protocol.toLowerCase() != "xmpp") return matchmaker(ws); var accountId = "";