Check if they are active instead of just if they have an entry
This commit is contained in:
commit
a287e11d84
1 file changed
+1
-1
@@ -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