Check if they are active instead of just if they have an entry
This commit is contained in:
@@ -111,7 +111,7 @@ public class Database {
|
||||
ResultSet resultSet = statement.executeQuery();
|
||||
|
||||
if (resultSet.next()) {
|
||||
return true;
|
||||
return resultSet.getInt("active") == 1;
|
||||
}
|
||||
|
||||
} catch (SQLException exception) {
|
||||
|
||||
Reference in New Issue
Block a user