Default new file areas are free

This commit is contained in:
Michiel Broek 2004-11-06 14:49:48 +00:00
parent 6cba2c05e5
commit 6ad38d7d66

View File

@ -74,6 +74,7 @@ int CountFilearea(void)
area.FileReq = TRUE;
area.Available = TRUE;
area.FileFind = TRUE;
area.Free = TRUE;
sprintf(area.BbsGroup, "LOCAL");
sprintf(area.NewGroup, "LOCAL");
sprintf(area.Path, "%s/local/common", CFG.ftp_base);
@ -193,6 +194,7 @@ int AppendFilearea(void)
area.FileFind = TRUE;
area.AddAlpha = TRUE;
area.FileReq = TRUE;
area.Free = TRUE;
strcpy(area.Path, CFG.ftp_base);
fwrite(&area, sizeof(area), 1, fil);
fclose(fil);