From b243bc35772a6461cb2a577c268b2729c3f24e93 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Sat, 29 Jun 2002 13:00:10 +0000 Subject: [PATCH] Only read re:msgnum field if not coming from a QWK network packet. --- src/sbbs3/qwktomsg.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sbbs3/qwktomsg.cpp b/src/sbbs3/qwktomsg.cpp index 9ed0db59d0..efa79190ae 100644 --- a/src/sbbs3/qwktomsg.cpp +++ b/src/sbbs3/qwktomsg.cpp @@ -99,7 +99,8 @@ bool sbbs_t::qwktomsg(FILE *qwk_fp, char *hdrblk, char fromhub, uint subnum msg.hdr.when_imported.zone=cfg.sys_timezone; hdrblk[116]=0; // don't include number of blocks in "re: msg number" - msg.hdr.thread_orig=atol((char *)hdrblk+108); + if(!(useron.rest&FLAG('Q')) && !fromhub) + msg.hdr.thread_orig=atol((char *)hdrblk+108); if((uint)subnum==INVALID_SUB) { /* E-mail */ msg.idx.to=touser; -- GitLab