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
349 B

var FreeNodeHandler = require("./libs/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();
});