Default new file areas are free
This commit is contained in:
parent
6cba2c05e5
commit
6ad38d7d66
@ -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);
|
||||
|
Reference in New Issue
Block a user