fix dumb mistake

This commit is contained in:
in1tiate 2021-03-25 00:35:20 -05:00 committed by GitHub
parent 1636dd93ef
commit ca0d5123d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;