Fixed bug with executing HTTPWorm program from Terminal

This commit is contained in:
Daniel Xie 2018-08-06 19:11:14 -04:00
parent 96b26c582e
commit dac64d188b

@ -1906,7 +1906,7 @@ let Terminal = {
server.openPortCount++;
};
programHandlers[Programs.HTTPWormProgram.name] = (server) => {
if (serv.httpPortOpen) {
if (server.httpPortOpen) {
post("HTTP Port (80) is already open!");
return;
}