Hook ~setaliasparent and ~mergeusers [Fix #218]

This commit is contained in:
Sam Nicholls 2013-01-25 15:13:12 +00:00
parent 55c490f50f
commit 78e0e60083

View File

@ -33,6 +33,10 @@ var profile = function(dbot) {
});
});
dbot.save();
// Add API Hooks
dbot.api.command.addHook('~setaliasparent', this.api.renameProfile);
dbot.api.command.addHook('~mergeusers', this.api.mergeProfile);
};
};