Rename connect event to term_detected, add connected and disconnected events

This commit is contained in:
Josh M. McKee 2017-06-10 18:46:28 -07:00
parent 5572ca5d24
commit c45824b3ad
3 changed files with 17 additions and 12 deletions

View file

@ -32,7 +32,7 @@ var self = module.exports = {
}
if (fs.existsSync(modPath)) {
var module = require(modPath);
if (module.registerEvents !== undefined) {
logger.log.debug(modPath+" calling registerEvents function");
module.registerEvents();