Fix StateFlags0 -> state_flags0 -- was causing imports to export!

This commit is contained in:
Bryan Ashby 2016-04-14 23:08:54 -06:00
parent 9080b1d0b9
commit 1a689805b5
1 changed files with 2 additions and 2 deletions

View File

@ -833,7 +833,7 @@ function FTNMessageScanTossModule() {
}, },
function persistImport(callback) { function persistImport(callback) {
// mark as imported // mark as imported
message.meta.System.StateFlags0 = Message.StateFlags0.Imported.toString(); message.meta.System.state_flags0 = Message.StateFlags0.Imported.toString();
// save to disc // save to disc
message.persist(err => { message.persist(err => {
@ -855,7 +855,7 @@ function FTNMessageScanTossModule() {
this.importMessagesFromPacketFile = function(packetPath, password, cb) { this.importMessagesFromPacketFile = function(packetPath, password, cb) {
let packetHeader; let packetHeader;
const packetOpts = { keepTearAndOrigin : true }; const packetOpts = { keepTearAndOrigin : true };
let importStats = { let importStats = {
areaSuccess : {}, // areaTag->count areaSuccess : {}, // areaTag->count