Check if they are active instead of just if they have an entry

This commit is contained in:
Teriuihi 2022-01-11 01:05:01 +01:00
commit a287e11d84

View File

@ -111,7 +111,7 @@ public class Database {
ResultSet resultSet = statement.executeQuery(); ResultSet resultSet = statement.executeQuery();
if (resultSet.next()) { if (resultSet.next()) {
return true; return resultSet.getInt("active") == 1;
} }
} catch (SQLException exception) { } catch (SQLException exception) {