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) => {