From e4d0f8ecacb3990b5c814c2712fe5db3b6faeca1 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Mon, 23 Nov 2015 10:01:58 +0000 Subject: [PATCH] Eliminated the "AREAS.BBS (MSG)" export group menu option since it only served to confuse sysops (a holdover from the SBBSFIDO days) and would create an AREAS.BBS file not compatible with SBBSecho. The "AREAS.BBS (SBBSecho)" export group menu option remains and is the one that sysops should normally use when wanting to create an SBBSecho-compatible AREAS.BBS file. --- src/sbbs3/scfg/scfgmsg.c | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/src/sbbs3/scfg/scfgmsg.c b/src/sbbs3/scfg/scfgmsg.c index 056cf210f0..f980d06fd9 100644 --- a/src/sbbs3/scfg/scfgmsg.c +++ b/src/sbbs3/scfg/scfgmsg.c @@ -402,7 +402,6 @@ while(1) { ported=0; q=uifc.changes; strcpy(opt[k++],"SUBS.TXT (Synchronet)"); - strcpy(opt[k++],"AREAS.BBS (MSG)"); strcpy(opt[k++],"AREAS.BBS (SBBSecho)"); strcpy(opt[k++],"FIDONET.NA (Fido)"); opt[k][0]=0; @@ -420,12 +419,10 @@ while(1) { if(k==0) sprintf(str,"%sSUBS.TXT",cfg.ctrl_dir); else if(k==1) - sprintf(str,"AREAS.BBS"); - else if(k==2) sprintf(str,"%sAREAS.BBS",cfg.data_dir); - else if(k==3) + else if(k==2) sprintf(str,"FIDONET.NA"); - if(k && k<3) + if(k==1) if(uifc.input(WIN_MID|WIN_SAV,0,0,"Uplinks" ,str2,sizeof(str2)-1,0)<=0) { uifc.changes=q; @@ -462,16 +459,7 @@ while(1) { if(cfg.sub[j]->grp!=i) continue; ported++; - if(k==1) { /* AREAS.BBS *.MSG */ - sprintf(str,"%s%s%s/" - ,cfg.echomail_dir - ,cfg.grp[cfg.sub[j]->grp]->code_prefix - ,cfg.sub[j]->code_suffix); - fprintf(stream,"%-30s %-20s %s\r\n" - ,str,stou(cfg.sub[j]->sname),str2); - continue; - } - if(k==2) { /* AREAS.BBS SBBSecho */ + if(k==1) { /* AREAS.BBS SBBSecho */ fprintf(stream,"%s%-30s %-20s %s\r\n" ,cfg.grp[cfg.sub[j]->grp]->code_prefix ,cfg.sub[j]->code_suffix @@ -479,7 +467,7 @@ while(1) { ,str2); continue; } - if(k==3) { /* FIDONET.NA */ + if(k==2) { /* FIDONET.NA */ fprintf(stream,"%-20s %s\r\n" ,stou(cfg.sub[j]->sname),cfg.sub[j]->lname); continue; -- GitLab