1
0
Fork 0
forked from svrjs/svrjs

Fixed bug with Can't execute command "KILLREQ".

This commit is contained in:
Dorian Niemiec 2023-08-09 21:23:50 +02:00
parent e6a25d931c
commit 68a42ccde8
2 changed files with 2 additions and 2 deletions

2
svr.js
View file

@ -4922,7 +4922,7 @@ function start(init) {
} else if (line == "\x14KILLREQ") { } else if (line == "\x14KILLREQ") {
if(reqcounter - reqcounterKillReq < 2) { if(reqcounter - reqcounterKillReq < 2) {
process.send("\x12KILLTERMMSG"); process.send("\x12KILLTERMMSG");
process.nextTick(commands.stop()); process.nextTick(commands.stop);
} else { } else {
reqcounterKillReq = reqcounter; reqcounterKillReq = reqcounter;
} }

View file

@ -1 +1 @@
17 0