--- a/rust/hedgewars-server/src/server/network.rs Fri Apr 12 22:36:54 2019 +0300
+++ b/rust/hedgewars-server/src/server/network.rs Fri Apr 12 23:16:44 2019 +0300
@@ -498,9 +498,7 @@
Ok((messages, state)) => {
for message in messages {
debug!("Handling message {:?} for client {}", message, client_id);
- if self.server.clients.contains(client_id) {
- handlers::handle(&mut self.server, client_id, &mut response, message);
- }
+ handlers::handle(&mut self.server, client_id, &mut response, message);
}
match state {
NetworkClientState::NeedsRead => {