From ab0d6196513480cd314b974b90eeec843f0871f5 Mon Sep 17 00:00:00 2001 From: arshiam2 <arshiam2@illinois.edu> Date: Sun, 7 Oct 2018 23:53:26 -0500 Subject: [PATCH] wip --- machine/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/machine/index.js b/machine/index.js index 3a88da9..20e5961 100644 --- a/machine/index.js +++ b/machine/index.js @@ -167,6 +167,7 @@ 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) -- GitLab