Fehler teilweise gefixt , Sachen hinzugefügt

This commit is contained in:
2022-03-24 23:41:45 +01:00
parent 74968d0f09
commit 018ffd987d
2 changed files with 10 additions and 18 deletions

View File

@@ -73,6 +73,7 @@ public class WordleServer extends Server {
if (u.getPassword() != null && u.getUsername() != null) {
if (query.checkLogin(u.getUsername(), u.getPassword())) {
send(pClientIP, pClientPort, "+OK welcome");
query.pullStats(u);
} else {
u.setPassword("");
u.setUsername("");