diff options
Diffstat (limited to 'lib/sockets.js')
| -rw-r--r-- | lib/sockets.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sockets.js b/lib/sockets.js index fb007a17..30eb86f0 100644 --- a/lib/sockets.js +++ b/lib/sockets.js @@ -200,7 +200,7 @@ app.register(async function(app) { }); ws.on("close", function(code, reason) { - // if (reason) console.log("closing socket", reason.toString(), id); + // console.log("closing socket", reason && reason.toString(), id); try { const username = names[id]; if (store.sockets[username] && store.sockets[username][id]) { |
