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