--- a/rust/hedgewars-server/src/server/handlers/loggingin.rs Tue Feb 05 04:55:40 2019 +0100
+++ b/rust/hedgewars-server/src/server/handlers/loggingin.rs Tue Feb 05 17:46:43 2019 +0300
@@ -57,7 +57,7 @@
response.add(Nick(nick).send_self());
if client.protocol_number > 0 {
- //CheckRegistered
+ super::common::process_login(server, response);
}
}
}
@@ -72,7 +72,7 @@
response.add(Proto(proto).send_self());
if client.nick != "" {
- // CheckRegistered
+ super::common::process_login(server, response);
}
}
}
@@ -84,7 +84,7 @@
let server_hash = get_hash(c, &c.server_salt, &salt);
if client_hash == server_hash {
response.add(ServerAuth(format!("{:x}", server_hash)).send_self());
- //JoinLobby
+ //TODO enter lobby
} else {
super::common::remove_client(server, response, "Authentication failed".to_string())
};