Fixed issue with data leaking from one user to another

This commit is contained in:
genuineparts 2025-06-10 09:08:40 +02:00
parent 9dc2c7d9d0
commit 048ee8aefc

View file

@ -66,11 +66,11 @@ public class Main {
}
private static void refresh() throws IOException {
HashMap<String, Integer> data = new HashMap<>();
try{
ResultSet rs = MariaDB.load_users();
if (rs != null) {
while (rs.next()) {
HashMap<String, Integer> data = new HashMap<>();
String user = rs.getString("user");
ResultSet rsu = MariaDB.load_user(user);
if (rsu != null) {