Move NetMail routes to scannerTossers: { ftn_bso: { ... } } where it belongs in config.hjson

This commit is contained in:
Bryan Ashby 2018-01-20 18:47:19 -07:00
parent 70a2bc5160
commit 5caf7a9fce
1 changed files with 3 additions and 3 deletions

View File

@ -827,9 +827,9 @@ function FTNMessageScanTossModule() {
this.getNetMailRoute = function(dstAddr) { this.getNetMailRoute = function(dstAddr) {
// //
// messageNetworks.ftn.netMail.routes{} full|wildcard -> full adddress lookup // Route full|wildcard -> full adddress/network lookup
// //
const routes = _.get(Config, 'messageNetworks.ftn.netMail.routes'); const routes = _.get(Config, 'scannerTossers.ftn_bso.netMail.routes');
if(!routes) { if(!routes) {
return; return;
} }
@ -843,7 +843,7 @@ function FTNMessageScanTossModule() {
// //
// Attempt to find route information for |destAddress|: // Attempt to find route information for |destAddress|:
// //
// 1) Routes: messageNetworks.ftn.netMail.routes{} -> scannerTossers.ftn_bso.nodes{} -> config // 1) Routes: scannerTossers.ftn_bso.netMail.routes{} -> scannerTossers.ftn_bso.nodes{} -> config
// - Where we send may not be where destAddress is (it's routed!) // - Where we send may not be where destAddress is (it's routed!)
// 2) Direct to nodes: scannerTossers.ftn_bso.nodes{} -> config // 2) Direct to nodes: scannerTossers.ftn_bso.nodes{} -> config
// - Where we send is direct to destAddress // - Where we send is direct to destAddress