git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@297 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
Joshua Kwan 2004-06-14 18:06:25 +00:00
parent e07195ad82
commit cd3f89cbc9
1 changed files with 1 additions and 2 deletions

View File

@ -1023,8 +1023,7 @@ newuser ()
int int
passwordgood (char *cpw) passwordgood (char *cpw)
{ {
if (me == NULL) assert (me != NULL);
return 0;
if (!strncmp (crypt (cpw, cpw), me->password, 13)) if (!strncmp (crypt (cpw, cpw), me->password, 13))
return 1; return 1;