From 363ceebf62558fdc5a7b97adb4e12e34e8bd9c18 Mon Sep 17 00:00:00 2001 From: Joshua Kwan Date: Fri, 13 Feb 2004 22:36:17 +0000 Subject: [PATCH] Jilles-pedantry git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@230 db0b04b0-f4d1-0310-9a6d-de3e77497b0e --- Changelog | 2 ++ dgamelaunch.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index d8dfaf6..983abdd 100644 --- a/Changelog +++ b/Changelog @@ -1,4 +1,6 @@ 1.5 (???) + * Make sure writefile does not get called when using it as a + password prompt for new-users [CRITICAL] * Allow user to change his or her email address in the console. * Remove some useless cruft in ttywait() [ttyplay.c] diff --git a/dgamelaunch.c b/dgamelaunch.c index f3ef2bf..01d6911 100644 --- a/dgamelaunch.c +++ b/dgamelaunch.c @@ -671,7 +671,7 @@ changepw (int dowrite) free(me->password); me->password = strdup (crypt (buf, buf)); - if (dowrite == 1) + if (dowrite) writefile (0); return 1;