1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
353 B

var FreeNodeHandler = require("./handlers/freenode").FreeNode,
Configs = require("./configs");
// Instanciate our main object
var FreeNode = new FreeNodeHandler();
FreeNode.init();
// Process SIGHUP by calling reinit
process.on("SIGHUP", function() {
console.log(("\n\n**** Reloading FreeNode! ****\n")[Configs.color]);
FreeNode.reinit();
});