diff --git a/core/menu_stack.js b/core/menu_stack.js index eebfbaec..f8bc18f6 100644 --- a/core/menu_stack.js +++ b/core/menu_stack.js @@ -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