diff --git a/machine/index.js b/machine/index.js index 6afb8e093c79aa3ed5881e869032d40c628ec137..123ed20e67254f6c40b56776191586ce1cf3e2af 100644 --- a/machine/index.js +++ b/machine/index.js @@ -167,10 +167,8 @@ socket.on("message", function(message, rinfo) { } if (text[0] === "leave") { - console.log(Object.keys(connections).filter(c => c.toString())) const deletedConnection = Object.keys(connections).filter(c => c.toString()[0] === text[1]); - console.log(text[1] + "left") - console.log(deletedConnection) + console.log(text[1] + " left") if (deletedConnection.length > 0) { delete connections[deletedConnection[0]]