From 9ed22c11b2d48bd4a529da58274884f083387758 Mon Sep 17 00:00:00 2001 From: Quentin ANIERE Date: Tue, 12 Apr 2022 17:59:28 +0200 Subject: [PATCH] fix log --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index b3344fe..ac95af6 100644 --- a/index.js +++ b/index.js @@ -48,7 +48,7 @@ io.on("connection", (client) => { client.on("disconnect", () => { usersConnected--; io.sockets.emit("update-count", {value: usersConnected}); - console.log(getCurrentTime() + ": Client disconnection") + console.log(getCurrentTime() + ": Client disconnection (" + client.usernameDenis + ")"); }); client.on("message", (data) => {