Merge branch 'master' of ssh://numinibsd/git/base/enigma-bbs
This commit is contained in:
commit
1fecb19c50
|
@ -9,7 +9,6 @@ const initConfigAndDatabases = require('./oputil_common.js').initConfigAndDataba
|
|||
const getHelpFor = require('./oputil_help.js').getHelpFor;
|
||||
const getAreaAndStorage = require('./oputil_common.js').getAreaAndStorage;
|
||||
const Errors = require('../../core/enig_error.js').Errors;
|
||||
const getDescFromFileName = require('../../core/file_base_area.js').getDescFromFileName;
|
||||
|
||||
const async = require('async');
|
||||
const fs = require('fs');
|
||||
|
@ -43,6 +42,8 @@ function finalizeEntryAndPersist(fileEntry, cb) {
|
|||
return callback(null);
|
||||
}
|
||||
|
||||
const getDescFromFileName = require('../../core/file_base_area.js').getDescFromFileName;
|
||||
|
||||
const questions = [
|
||||
{
|
||||
name : 'desc',
|
||||
|
|
|
@ -1360,11 +1360,15 @@ function FTNMessageScanTossModule() {
|
|||
short_file_name : ticFileInfo.getAsString('File').toUpperCase(), // upper to ensure no case issues later; this should be a DOS 8.3 name
|
||||
tic_origin : ticFileInfo.getAsString('Origin'),
|
||||
tic_desc : ticFileInfo.getAsString('Desc'),
|
||||
tic_ldesc : ticFileInfo.getAsString('Ldesc', '\n'),
|
||||
upload_by_username : _.get(Config.scannerTossers.ftn_bso.nodes, [ localInfo.node, 'tic', 'uploadBy' ]) || Config.scannerTossers.ftn_bso.tic.uploadBy,
|
||||
}
|
||||
};
|
||||
|
||||
const ldesc = ticFileInfo.getAsString('Ldesc', '\n');
|
||||
if(ldesc) {
|
||||
scanOpts.meta.tic_ldesc = ldesc;
|
||||
}
|
||||
|
||||
//
|
||||
// We may have TIC auto-tagging for this node and/or specific (remote) area
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue