From cd36a63ddb16787bfc65c9d9d29dd166153367ad Mon Sep 17 00:00:00 2001 From: Michael Long <mlong@bizjournals.com> Date: Sun, 1 Nov 2020 00:11:58 -0400 Subject: [PATCH] Revert "change from hardcoded 200 to http_request.status.ok" This reverts commit 00e33392d72bb762ede8c8c6eac895078f64be06. --- exec/init-fidonet.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exec/init-fidonet.js b/exec/init-fidonet.js index 30a68a6545..102921d5ab 100644 --- a/exec/init-fidonet.js +++ b/exec/init-fidonet.js @@ -666,7 +666,7 @@ if(network.echolist break; continue; } - if(http_request.response_code == http_request.status.ok) { + if(http_request.response_code == 200) { print("Downloaded " + echolist_url + " to " + system.ctrl_dir + file.name); file.write(contents); file.close(); @@ -699,7 +699,7 @@ if(network.echolist break; continue; } - if(http_request.response_code == http_request.status.ok) { + if(http_request.response_code == 200) { print("Downloaded " + network.pack + " to " + system.ctrl_dir + file.name); file.write(contents); file.close(); -- GitLab