From 2e1479d508f184798e89dc8756f0b7e0aae4e59c Mon Sep 17 00:00:00 2001 From: tgpethan Date: Sat, 23 Nov 2019 20:35:14 +0000 Subject: [PATCH] Add a comment --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 5fe520f..b1bcba8 100644 --- a/index.js +++ b/index.js @@ -36,6 +36,7 @@ fs.readFile('./misc/ascii.txt', function(err, data) { console.log(`[Modules] Found module ${files[i].toString()}`); // We want to find out what the request handler module is if (global.modules[files[i].toString().replace(".js", "")].MOD_FUNC == "handle_requests") { + // Set reqhandler to the request handler for easy getting reqhandler = global.modules[files[i].toString().replace(".js", "")]; } } else {