fix info response
authoralfadur
Sat, 13 Apr 2019 00:37:35 +0300
changeset 14823 a40139603cde
parent 14822 da0cfeee9d96
child 14824 92225a708bda
fix info response
rust/hedgewars-server/src/server/handlers.rs
--- a/rust/hedgewars-server/src/server/handlers.rs	Sat Apr 13 00:27:48 2019 +0300
+++ b/rust/hedgewars-server/src/server/handlers.rs	Sat Apr 13 00:37:35 2019 +0300
@@ -237,10 +237,11 @@
 
                             let info = vec![
                                 client.nick.clone(),
+                                "[]".to_string(),
                                 utils::protocol_version_string(client.protocol_number).to_string(),
                                 room_info,
                             ];
-                            Info(info);
+                            response.add(Info(info).send_self())
                         } else {
                             response
                                 .add(server_chat("Player is not online.".to_string()).send_self())