From 93cc4c14aefb0f9f651c733f34aa142de1218c8c Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Wed, 18 Jan 2023 14:48:46 +0100 Subject: [PATCH] exit command return type bugfix --- js/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/commands.js b/js/commands.js index 37978e9..e9545f3 100644 --- a/js/commands.js +++ b/js/commands.js @@ -6,7 +6,7 @@ function runCommand(input) { if (input.toLowerCase().startsWith("exit")) { cmd_exit(); - return; + return ""; } const modeSplit = chatMode.split(' ');