Add a comment
This commit is contained in:
parent
2e7a786736
commit
2e1479d508
1 changed files with 1 additions and 0 deletions
1
index.js
1
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 {
|
||||
|
|
Loading…
Reference in a new issue