Commit 869afab7 authored by rswindell's avatar rswindell
Browse files

Disable the FTN NetMail source address selection (chooser) by default -

the sysop must now enable this feature in SCFG->Networks->FidoNet.
parent ee9cf72d
......@@ -200,7 +200,7 @@ bool sbbs_t::netmail(const char *into, const char *title, long mode)
if(i >= cfg.total_faddrs)
i=0;
if(cfg.total_faddrs > 1) {
if((cfg.netmail_misc&NMAIL_CHSRCADDR) && cfg.total_faddrs > 1) {
for(uint j=0; j < cfg.total_faddrs; j++)
uselect(/* add: */TRUE, j, text[OriginFidoAddr], smb_faddrtoa(&cfg.faddr[j], tmp), /* ar: */NULL);
int choice = uselect(/* add: */FALSE, /* default: */i, NULL, NULL, NULL);
......
......@@ -211,6 +211,7 @@ typedef struct js_callback {
#define NMAIL_ALIAS (1<<4) /* Use Aliases in NetMail */
#define NMAIL_FILE (1<<5) /* Allow file attachments */
#define NMAIL_DIRECT (1<<6) /* Default netmail to direct */
#define NMAIL_CHSRCADDR (1<<7) /* Allow sender to choose source address */
/* Bit values for subscan_t.cfg and sav_cfg */
#define SUB_CFG_NSCAN 0x0005 /* Auto-scan for new messages */
......
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