Add a comment

This commit is contained in:
tgpethan 2019-11-23 20:35:14 +00:00
parent 2e7a786736
commit 2e1479d508
1 changed files with 1 additions and 0 deletions

View File

@ -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 {