Synchronizing doc with sources
This commit is contained in:
@@ -615,11 +615,11 @@ bool AreaList::GetAreaFirstPart(AreaCfg& aa, char*& key, char*& val) {
|
||||
break;
|
||||
case CRC_EMAIL:
|
||||
aa.type = AT_EMAIL | AT_NET;
|
||||
aa.attr = CFG->attribsnet;
|
||||
aa.attr = CFG->attribsemail;
|
||||
break;
|
||||
case CRC_NEWS:
|
||||
aa.type = AT_NEWSGROUP | AT_ECHO;
|
||||
aa.attr = CFG->attribsecho;
|
||||
aa.attr = CFG->attribsnews;
|
||||
break;
|
||||
default:
|
||||
return false;
|
||||
|
@@ -770,11 +770,11 @@ CfgGed::CfgGed() {
|
||||
attribscc.loc1();
|
||||
attribscfm.loc1();
|
||||
attribsecho.loc1();
|
||||
// attribsemail.reset();
|
||||
attribsemail.loc1();
|
||||
attribsfrq.loc1();
|
||||
attribslocal.loc1();
|
||||
attribsnet.loc1();
|
||||
// attribsnews.reset();
|
||||
attribsnews.loc1();
|
||||
switches.set(akamatchnet, true);
|
||||
switches.set(areaautonext, true);
|
||||
switches.set(areacatchupread, true);
|
||||
|
@@ -259,7 +259,11 @@ void Area::RandomizeData(int mode) {
|
||||
CFG->grp.GetItm(GRP_AKAMATCHING, adat->akamatching);
|
||||
|
||||
if(CFG->grp.GetItm(GRP_ATTRIBUTES, buf, sizeof(buf))) {
|
||||
if(isnet())
|
||||
if(isemail())
|
||||
adat->attributes = CFG->attribsemail;
|
||||
else if(isnewsgroup())
|
||||
adat->attributes = CFG->attribsnews;
|
||||
else if(isnet())
|
||||
adat->attributes = CFG->attribsnet;
|
||||
else if(isecho())
|
||||
adat->attributes = CFG->attribsecho;
|
||||
|
Reference in New Issue
Block a user