1
0
Fork 0
forked from svrjs/svrjs

Discard unrecognized control messages (main-side)

This commit is contained in:
Dorian Niemiec 2024-08-26 06:19:27 +02:00
parent 96dfe853d4
commit a82f5ac010

View file

@ -1702,6 +1702,8 @@ function start(init) {
} else { } else {
reqcounterKillReq = process.reqcounter; reqcounterKillReq = process.reqcounter;
} }
} else if (message[0] == "\x14") {
// Discard unrecognized control messages
} else if ( } else if (
commands[line.split(" ")[0]] !== undefined && commands[line.split(" ")[0]] !== undefined &&
commands[line.split(" ")[0]] !== null commands[line.split(" ")[0]] !== null