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<>();
|
||||
while (rs.next()) {
|
||||
String name = rs.getString("UserName");
|
||||
if (byName.containsKey(name)) {
|
||||
steamwarUsers.add(byName.get(name));
|
||||
} else {
|
||||
steamwarUsers.add(new SteamwarUser(rs));
|
||||
}
|
||||
SteamwarUser user = byName.get(name.toLowerCase());
|
||||
if (user == null) user = new SteamwarUser(rs);
|
||||
steamwarUsers.add(user);
|
||||
}
|
||||
return steamwarUsers;
|
||||
}, userName.toLowerCase() + "%");
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren