Skip to content
Snippets Groups Projects
Commit 32690ef6 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Don't display FidoNet address and origin line when not-FidoNet-enabled sub

Displaying these settings when they're not used can confuse sysops.
parent ad84aa03
No related branches found
No related tags found
No related merge requests found
......@@ -1279,9 +1279,11 @@ void sub_cfg(int grpnum)
, cfg.sub[i]->misc & SUB_INET ? "Yes":"No");
snprintf(opt[n++], MAX_OPLN, "%-27.27s%s", "FidoNet EchoMail"
, cfg.sub[i]->misc & SUB_FIDO ? "Yes":"No");
snprintf(opt[n++], MAX_OPLN, "%-27.27s%s", "FidoNet Address"
, smb_faddrtoa(&cfg.sub[i]->faddr, tmp));
snprintf(opt[n++], MAX_OPLN, "EchoMail Origin Line");
if (cfg.sub[i]->misc & SUB_FIDO) {
snprintf(opt[n++], MAX_OPLN, "%-27.27s%s", "FidoNet Address"
, smb_faddrtoa(&cfg.sub[i]->faddr, tmp));
snprintf(opt[n++], MAX_OPLN, "EchoMail Origin Line");
}
opt[n][0] = 0;
uifc.helpbuf =
"`Sub-board Network Options:`\n"
......
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