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;