Fix bug with new users

This commit is contained in:
Andrew Pamment 2018-10-18 11:50:56 +10:00
parent af8936c02e
commit 8a201b77d1

View File

@ -561,7 +561,7 @@ int check_fullname(char *firstname, char *lastname) {
sqlite3_finalize(res);
sqlite3_close(db);
return (step == SQLITE_ROW);
return (!(step == SQLITE_ROW));
}
int check_user(char *loginname) {