diff options
| author | Adam Soltys <[email protected]> | 2020-08-09 01:35:56 -0400 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-08-17 00:36:28 -0400 |
| commit | f70e48a69ccbd0f67220f25bcb65f098d537ec5f (patch) | |
| tree | 5cd6603ea9797d30873d462aa3b8d4883718a2c9 /lib/sockets.js | |
| parent | 7ab3036cb1576fe38ba1fd423a58b7cd97a58579 (diff) | |
| download | coinos-server-f70e48a69ccbd0f67220f25bcb65f098d537ec5f.tar.gz coinos-server-f70e48a69ccbd0f67220f25bcb65f098d537ec5f.zip | |
don't warn about socket logouts
Diffstat (limited to 'lib/sockets.js')
| -rw-r--r-- | lib/sockets.js | 1 |
1 files changed, 0 insertions, 1 deletions
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(); |
