* Format der passwd Datei geändert. Achtung, Skripte ändern!

This commit is contained in:
Enno Rehling 2002-03-29 09:41:38 +00:00
parent 3420f58f6d
commit 0e359158ea
3 changed files with 4 additions and 3 deletions

View File

@ -179,7 +179,7 @@ writepasswd(void)
puts("Schreibe Passwörter...");
for (f = factions; f; f = f->next) {
fprintf(F, "%s:%s:%s\n", factionid(f), f->name, f->passw);
fprintf(F, "%s:%s:%s:%s\n", factionid(f), f->name, f->passw, f->override);
}
fclose(F);
}

View File

@ -1103,7 +1103,7 @@ inactivefaction(faction * f)
FILE *inactiveFILE;
char zText[128];
sprintf(zText, "%s/%s", datapath(), "/passwd");
sprintf(zText, "%s/%s", datapath(), "/inactive");
inactiveFILE = fopen(zText, "a");
fprintf(inactiveFILE, "%s:%s:%d:%d\n",

View File

@ -221,7 +221,8 @@ writepasswd(void)
puts("Schreibe Passwörter...");
for (f = factions; f; f = f->next) {
fprintf(F, "%s:%s:%s\n", factionid(f), f->email, f->passw);
fprintf(F, "%s:%s:%s:%s\n",
factionid(f), f->email, f->passw, f->override);
}
fclose(F);
}