Skip to content
Snippets Groups Projects
Commit b243bc35 authored by rswindell's avatar rswindell
Browse files

Only read re:msgnum field if not coming from a QWK network packet.

parent a85cdc1a
No related branches found
No related tags found
No related merge requests found
...@@ -99,7 +99,8 @@ bool sbbs_t::qwktomsg(FILE *qwk_fp, char *hdrblk, char fromhub, uint subnum ...@@ -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; msg.hdr.when_imported.zone=cfg.sys_timezone;
hdrblk[116]=0; // don't include number of blocks in "re: msg number" 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 */ if((uint)subnum==INVALID_SUB) { /* E-mail */
msg.idx.to=touser; msg.idx.to=touser;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment