Fix bug with new users
This commit is contained in:
parent
af8936c02e
commit
8a201b77d1
@ -561,7 +561,7 @@ int check_fullname(char *firstname, char *lastname) {
|
|||||||
sqlite3_finalize(res);
|
sqlite3_finalize(res);
|
||||||
sqlite3_close(db);
|
sqlite3_close(db);
|
||||||
|
|
||||||
return (step == SQLITE_ROW);
|
return (!(step == SQLITE_ROW));
|
||||||
}
|
}
|
||||||
|
|
||||||
int check_user(char *loginname) {
|
int check_user(char *loginname) {
|
||||||
|
Reference in New Issue
Block a user