Added security editing, some bugfixes and bumped version number
This commit is contained in:
@@ -365,6 +365,9 @@ int CheckTicGroup(char *Area, int SendUplink, faddr *f)
|
||||
tic.ConvertAll = fgroup.ConvertAll;
|
||||
tic.SendOrg = fgroup.SendOrg;
|
||||
tic.Active = TRUE;
|
||||
tic.LinkSec.level = fgroup.LinkSec.level;
|
||||
tic.LinkSec.flags = fgroup.LinkSec.flags;
|
||||
tic.LinkSec.notflags = fgroup.LinkSec.notflags;
|
||||
fwrite(&tic, sizeof(tic), 1, mp);
|
||||
|
||||
memset(&System, 0, sizeof(System));
|
||||
|
@@ -231,6 +231,7 @@ int CheckEchoGroup(char *Area, int SendUplink, faddr *f)
|
||||
msgs.RDSec = mgroup.RDSec;
|
||||
msgs.WRSec = mgroup.WRSec;
|
||||
msgs.SYSec = mgroup.SYSec;
|
||||
msgs.LinkSec = mgroup.LinkSec;
|
||||
strncpy(msgs.Group, mgroup.Name, 12);
|
||||
msgs.Aka = mgroup.UseAka;
|
||||
strncpy(msgs.Origin, CFG.origin, 50);
|
||||
|
@@ -584,7 +584,7 @@ int Areas(void)
|
||||
}
|
||||
fseek(fp, msgshdr.hdrsize, SEEK_SET);
|
||||
while (fread(&msgs, msgshdr.recsize, 1, fp) == 1) {
|
||||
if (msgs.Active && !strcmp(msgs.Group, mgroup.Name)) {
|
||||
if (msgs.Active && !strcmp(msgs.Group, mgroup.Name) && (msgs.Type == ECHOMAIL)) {
|
||||
Found = FALSE;
|
||||
for (tmp = alist; tmp; tmp = tmp->next) {
|
||||
if (!strcmp(msgs.Tag, tmp->Name))
|
||||
|
Reference in New Issue
Block a user