Skip to content
Snippets Groups Projects
Commit 2c96fbcf authored by rswindell's avatar rswindell
Browse files

Added inbox and outbox key parsing from sbbsecho.ini.

I've been sitting on this uncomitted changed for a while, likely needed for
BinkIt outbox support (oops).
parent 19c663db
No related branches found
No related tags found
No related merge requests found
......@@ -30,6 +30,8 @@ function SBBSEchoCfg ()
this.pktpass = {};
this.ticpass = {};
this.packer = {};
this.inbox = {};
this.outbox = {};
this.is_flo = false;
this.outbound = undefined;
var packer = undefined;
......@@ -52,6 +54,12 @@ function SBBSEchoCfg ()
ecfg.iniGetSections('node:').forEach(function(section) {
this.ticpass[section.replace(/^node:/,'')] = ecfg.iniGetValue(section, 'TicFilePwd', '');
}, this);
ecfg.iniGetSections('node:').forEach(function(section) {
this.inbox[section.replace(/^node:/,'')] = ecfg.iniGetValue(section, 'inbox');
}, this);
ecfg.iniGetSections('node:').forEach(function(section) {
this.outbox[section.replace(/^node:/,'')] = ecfg.iniGetValue(section, 'outbox');
}, this);
ecfg.iniGetSections('archive:').forEach(function(packer) {
this.packer[packer] = {};
this.packer[packer].offset = ecfg.iniGetValue(packer, 'SigOffset', 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment