Merge branch 'master' of ssh://numinibsd/git/base/enigma-bbs

This commit is contained in:
Bryan Ashby 2016-04-13 21:39:10 -06:00
commit 9bcdc085c9
1 changed files with 3 additions and 4 deletions

View File

@ -384,9 +384,8 @@ function FTNMessageScanTossModule() {
} }
Message.getMetaValuesByMessageId(message.replyToMsgId, 'FtnKludge', 'MSGID', (err, msgIdVal) => { Message.getMetaValuesByMessageId(message.replyToMsgId, 'FtnKludge', 'MSGID', (err, msgIdVal) => {
assert(_.isString(msgIdVal));
if(!err) { if(!err) {
assert(_.isString(msgIdVal), 'Expected string but got ' + (typeof msgIdVal) + ' (' + msgIdVal + ')');
// got a MSGID - create a REPLY // got a MSGID - create a REPLY
message.meta.FtnKludge.REPLY = msgIdVal; message.meta.FtnKludge.REPLY = msgIdVal;
} }