From 0e359158eae29393476a0e2b0f2266e2e1f5fc77 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Fri, 29 Mar 2002 09:41:38 +0000 Subject: [PATCH] =?UTF-8?q?*=20Format=20der=20passwd=20Datei=20ge=C3=A4nde?= =?UTF-8?q?rt.=20Achtung,=20Skripte=20=C3=A4ndern!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/askalon/main.c | 2 +- src/common/gamecode/laws.c | 2 +- src/eressea/main.c | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) 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); }