diff -r a859f08ebb4f -r ede5f4ec48f3 rust/hedgewars-server/src/handlers/inroom.rs --- a/rust/hedgewars-server/src/handlers/inroom.rs Thu Dec 26 21:04:37 2019 +0300 +++ b/rust/hedgewars-server/src/handlers/inroom.rs Thu Dec 26 21:55:51 2019 +0300 @@ -141,7 +141,7 @@ ); } TeamChat(msg) => { - if let Some(ref info) = room.game_info { + if room.game_info.is_some() { if let Some(clan_color) = room.find_team_color(client_id) { let engine_msg = to_engine_msg(format!("b{}]{}\x20\x20", client.nick, msg).bytes());