From 68a42ccde840186084bf916356c6de080d306938 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Wed, 9 Aug 2023 21:23:50 +0200 Subject: [PATCH] Fixed bug with `Can't execute command "KILLREQ"`. --- svr.js | 2 +- views.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/svr.js b/svr.js index 62369c6..0c9e52b 100644 --- a/svr.js +++ b/svr.js @@ -4922,7 +4922,7 @@ function start(init) { } else if (line == "\x14KILLREQ") { if(reqcounter - reqcounterKillReq < 2) { process.send("\x12KILLTERMMSG"); - process.nextTick(commands.stop()); + process.nextTick(commands.stop); } else { reqcounterKillReq = reqcounter; } diff --git a/views.txt b/views.txt index 8e2afd3..573541a 100644 --- a/views.txt +++ b/views.txt @@ -1 +1 @@ -17 \ No newline at end of file +0