This commit is contained in:
Quentin ANIERE 2022-04-12 17:59:28 +02:00
parent ed27b49205
commit 9ed22c11b2

View File

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