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 = "";