mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-08-02 16:01:55 +02:00
Major commit for new message network WIP
This commit is contained in:
parent
6750c05f07
commit
317af8419a
40 changed files with 1747 additions and 599 deletions
|
@ -7,8 +7,13 @@ var acsParser = require('./acs_parser.js');
|
|||
var _ = require('lodash');
|
||||
var assert = require('assert');
|
||||
|
||||
exports.checkAcs = checkAcs;
|
||||
exports.getConditionalValue = getConditionalValue;
|
||||
|
||||
function checkAcs(client, acsString) {
|
||||
return acsParser.parse(acsString, { client : client } );
|
||||
}
|
||||
|
||||
function getConditionalValue(client, condArray, memberName) {
|
||||
assert(_.isObject(client));
|
||||
assert(_.isArray(condArray));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue