equal
deleted
inserted
replaced
88 .but_self(), |
88 .but_self(), |
89 ); |
89 ); |
90 |
90 |
91 response.add(LobbyJoined(all_nicks).send_self()); |
91 response.add(LobbyJoined(all_nicks).send_self()); |
92 for (flag, nicks) in &mut flag_selectors { |
92 for (flag, nicks) in &mut flag_selectors { |
93 response.add(ClientFlags(add_flags(&[*flag]), replace(nicks, vec![])).send_self()); |
93 if !nicks.is_empty() { |
|
94 response.add(ClientFlags(add_flags(&[*flag]), replace(nicks, vec![])).send_self()); |
|
95 } |
94 } |
96 } |
95 |
97 |
96 response.add(server_msg.send_self()); |
98 response.add(server_msg.send_self()); |
97 response.add(rooms_msg.send_self()); |
99 response.add(rooms_msg.send_self()); |
98 } |
100 } |