From 4a528120be7027db67387c48b174b58ff9d1ba8f Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Sun, 25 Aug 2024 20:21:48 +0200 Subject: [PATCH] Fix 3eacbdb397ca24ce414b607da8e14ba786325266 commit --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index b183692..cde8647 100644 --- a/src/index.js +++ b/src/index.js @@ -1265,7 +1265,7 @@ function msgListener(message) { } if (message == "\x12END") { // Do nothing - } else if (msg == "\x12CLOSE") { + } else if (message == "\x12CLOSE") { closedMaster = true; } else if (message[0] == "\x12") { console.log("RECEIVED CONTROL MESSAGE: " + message.substr(1));