From f70e48a69ccbd0f67220f25bcb65f098d537ec5f Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 9 Aug 2020 01:35:56 -0400 Subject: don't warn about socket logouts --- lib/sockets.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/sockets.js b/lib/sockets.js index 082a2b81..ab16e2fa 100644 --- a/lib/sockets.js +++ b/lib/sockets.js @@ -95,7 +95,6 @@ wss.on("connection", function (ws, req) { const existing = Object.keys(sockets[username]); if (existing.length > 4) { const p = existing.find((sid) => sid !== id); - l.warn("sending logout to", p); sockets[username][p].send(JSON.stringify({ type: "logout" })); setTimeout(() => { if (sockets[username][p]) sockets[username][p].close(); -- cgit v1.2.3