Update SWCommandUtils SteamwarUser mapper
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Dieser Commit ist enthalten in:
Ursprung
17fdb34473
Commit
cd8d2a8b42
@ -107,11 +107,9 @@ public class SteamwarUser {
|
|||||||
List<SteamwarUser> steamwarUsers = new ArrayList<>();
|
List<SteamwarUser> steamwarUsers = new ArrayList<>();
|
||||||
while (rs.next()) {
|
while (rs.next()) {
|
||||||
String name = rs.getString("UserName");
|
String name = rs.getString("UserName");
|
||||||
if (byName.containsKey(name)) {
|
SteamwarUser user = byName.get(name.toLowerCase());
|
||||||
steamwarUsers.add(byName.get(name));
|
if (user == null) user = new SteamwarUser(rs);
|
||||||
} else {
|
steamwarUsers.add(user);
|
||||||
steamwarUsers.add(new SteamwarUser(rs));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return steamwarUsers;
|
return steamwarUsers;
|
||||||
}, userName.toLowerCase() + "%");
|
}, userName.toLowerCase() + "%");
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren