mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-06 12:47:13 +02:00
* New ACS class avail @ client.acs
* Experimental / WIP work on issue #79 * Issue # 77: Changes to new_scan.js, temp conf/area swapping, etc. * message area: getMessageConfByAreaTag(), getMessageConfTagByAreaTag(), tempChangeMessageConfAndArea(), getNewMessageCountInAreaForUser()
This commit is contained in:
parent
2baf028e34
commit
8bd61f2d01
6 changed files with 262 additions and 113 deletions
|
@ -3,7 +3,6 @@
|
|||
|
||||
// ENiGMA½
|
||||
var loadMenu = require('./menu_util.js').loadMenu;
|
||||
var acsUtil = require('./acs_util.js');
|
||||
|
||||
var _ = require('lodash');
|
||||
var assert = require('assert');
|
||||
|
@ -49,7 +48,7 @@ MenuStack.prototype.next = function(cb) {
|
|||
var next;
|
||||
|
||||
if(_.isArray(menuConfig.next)) {
|
||||
next = acsUtil.getConditionalValue(this.client, menuConfig.next, 'next');
|
||||
next = this.client.acs.getConditionalValue(menuConfig.next, 'next');
|
||||
if(!next) {
|
||||
cb(new Error('No matching condition for \'next\'!'));
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue