Fixed issue with data leaking from one user to another
This commit is contained in:
parent
9dc2c7d9d0
commit
048ee8aefc
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue