* Delete mods/login.js (not used)

* More fallbackMenuModule & gotoMenuModule clean up -- should all be using new system now
This commit is contained in:
Bryan Ashby 2015-11-03 23:25:35 -07:00
parent f7a7423b32
commit b1be5cdff4
12 changed files with 16 additions and 85 deletions

View file

@ -121,7 +121,7 @@ function AbracadabraModule(options) {
function complete(err) {
if(err) {
self.lastError = err;
self.client.fallbackMenuModule();
self.prevMenu();
} else {
self.finishedLoading();
}
@ -149,7 +149,7 @@ function AbracadabraModule(options) {
var doorInstance = new door.Door(this.client, exeInfo);
doorInstance.on('finished', function doorFinished() {
self.client.fallbackMenuModule();
self.prevMenu();
});
self.client.term.write(ansi.resetScreen());