From dac64d188bf4ce455cabf59de604caa5db994325 Mon Sep 17 00:00:00 2001 From: Daniel Xie Date: Mon, 6 Aug 2018 19:11:14 -0400 Subject: [PATCH] Fixed bug with executing HTTPWorm program from Terminal --- src/Terminal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Terminal.js b/src/Terminal.js index a4d9e1801..274bef815 100644 --- a/src/Terminal.js +++ b/src/Terminal.js @@ -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; }