* Fix defaultHandlerMissingMod for menu load error

This commit is contained in:
ENiGMA BBS 2015-12-05 23:22:23 -07:00
parent 28e9d826de
commit 58f4af0f11
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ MenuStack.prototype.goto = function(name, options, cb) {
loadMenu(loadOpts, function menuLoaded(err, modInst) {
if(err) {
var errCb = cb || currentModuleInfo.instance.defaultHandlerMissingMod();
var errCb = cb || self.client.defaultHandlerMissingMod();
errCb(err);
} else {
// :TODO: Move this log to caller