fix dumb mistake
This commit is contained in:
parent
1636dd93ef
commit
ca0d5123d2
@ -194,7 +194,7 @@ bool DBManager::invalidateBan(int id)
|
||||
ban_exists.addBindValue(id);
|
||||
ban_exists.exec();
|
||||
|
||||
if (ban_exists.first())
|
||||
if (!ban_exists.first())
|
||||
return false;
|
||||
|
||||
QSqlQuery query;
|
||||
|
Loading…
Reference in New Issue
Block a user