From 5452cc79dbba6ab20fc803ac4a79e5bc3b9ecafa Mon Sep 17 00:00:00 2001 From: Jan Date: Sun, 7 Mar 2021 00:18:37 +0100 Subject: [PATCH] fix death --- commands/connect4.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/connect4.js b/commands/connect4.js index 0f4c059..e611960 100644 --- a/commands/connect4.js +++ b/commands/connect4.js @@ -185,6 +185,7 @@ function awaitMessages(channel, callback) { return () => { // somehow remove the listener idk how gameEndEmitter.emit(channel); + sessions.delete(channel); } }