rust/hedgewars-server/src/handlers/inanteroom.rs
changeset 15124 823052e66611
parent 15096 e935b1ad23f3
child 15542 fd3a20e9d095
--- a/rust/hedgewars-server/src/handlers/inanteroom.rs	Sun Jun 02 23:58:12 2019 +0300
+++ b/rust/hedgewars-server/src/handlers/inanteroom.rs	Mon Jun 03 01:15:57 2019 +0300
@@ -47,7 +47,9 @@
     } else {
         #[cfg(feature = "official-server")]
         {
-            response.add(AskPassword(client.server_salt.clone()).send_self());
+            response.request_io(super::IoTask::CheckRegistered {
+                nick: client.nick.as_ref().unwrap().clone(),
+            });
             LoginResult::Unchanged
         }