rust/hedgewars-server/src/server/handlers.rs
changeset 14802 a40139603cde
parent 14796 f5d43f007970
child 14907 c156273b57de
equal deleted inserted replaced
14801:da0cfeee9d96 14802:a40139603cde
   235                                 None => format!("[{}lobby]", admin_sign),
   235                                 None => format!("[{}lobby]", admin_sign),
   236                             };
   236                             };
   237 
   237 
   238                             let info = vec![
   238                             let info = vec![
   239                                 client.nick.clone(),
   239                                 client.nick.clone(),
       
   240                                 "[]".to_string(),
   240                                 utils::protocol_version_string(client.protocol_number).to_string(),
   241                                 utils::protocol_version_string(client.protocol_number).to_string(),
   241                                 room_info,
   242                                 room_info,
   242                             ];
   243                             ];
   243                             Info(info);
   244                             response.add(Info(info).send_self())
   244                         } else {
   245                         } else {
   245                             response
   246                             response
   246                                 .add(server_chat("Player is not online.".to_string()).send_self())
   247                                 .add(server_chat("Player is not online.".to_string()).send_self())
   247                         }
   248                         }
   248                     }
   249                     }