Commit c590c437 authored by Rob Swindell's avatar Rob Swindell 💬
Browse files

Use QWKnet ID of originating system when imported via QWKnet

Update to previous commit.
parent f257f2ff
Pipeline #1067 passed with stage
in 21 minutes and 9 seconds
......@@ -4925,6 +4925,8 @@ void export_echomail(const char* sub_code, const nodecfg_t* nodecfg, bool rescan
if(msg.ftn_bbsid != NULL) /* use original BBSID */
f += sprintf(fmsgbuf + f, "\1BBSID: %.256s\r", msg.ftn_bbsid);
else if(msg.from_net.type == NET_QWK)
f += sprintf(fmsgbuf + f, "\1BBSID: %.256s\r", (char*)msg.from_net.addr);
else if(msg.from_net.type != NET_FIDO)
f += sprintf(fmsgbuf + f, "\1BBSID: %.256s\r", scfg.sys_id);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment