diff --git a/src/askalon/main.c b/src/askalon/main.c index 93f9075f7..6ba4aa7ad 100644 --- a/src/askalon/main.c +++ b/src/askalon/main.c @@ -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); } diff --git a/src/common/gamecode/laws.c b/src/common/gamecode/laws.c index e3e984020..99de3be03 100644 --- a/src/common/gamecode/laws.c +++ b/src/common/gamecode/laws.c @@ -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", diff --git a/src/eressea/main.c b/src/eressea/main.c index 61334256e..d9119b188 100644 --- a/src/eressea/main.c +++ b/src/eressea/main.c @@ -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); }