changeset 15111 | 1e45db229f9f |
parent 15075 | e935b1ad23f3 |
child 15326 | 136023417164 |
--- a/rust/hedgewars-server/src/handlers/inroom.rs Mon Jun 03 23:15:05 2019 +0300 +++ b/rust/hedgewars-server/src/handlers/inroom.rs Mon Jun 03 23:50:26 2019 +0300 @@ -159,7 +159,7 @@ } Greeting(text) => { if client.is_admin() || client.is_master() && !room.is_fixed() { - room.greeting = text; + room.greeting = text.unwrap_or(String::new()); } } MaxTeams(count) => {