diff --git a/dgamelaunch.c b/dgamelaunch.c index fc831a9..0b17154 100644 --- a/dgamelaunch.c +++ b/dgamelaunch.c @@ -2057,11 +2057,17 @@ passwordgood (char *cpw) crypted = crypt (cpw, cpw); if (crypted == NULL) return 0; + +#ifdef USE_SQLITE3 if (!strncmp (crypted, me->password, DGL_PASSWDLEN)) return 1; + +#else if (!strncmp (cpw, me->password, DGL_PASSWDLEN)) return 1; +#endif + return 0; }