forked from github/server
* Format der passwd Datei geändert. Achtung, Skripte ändern!
This commit is contained in:
parent
3420f58f6d
commit
0e359158ea
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue