|
|
@ -152,8 +152,7 @@ impl MasterServer { |
|
|
|
self.remove_outdated_servers(); |
|
|
|
self.remove_outdated_servers(); |
|
|
|
} |
|
|
|
} |
|
|
|
Packet::ServerRemove => { |
|
|
|
Packet::ServerRemove => { |
|
|
|
// XXX: anyone can delete server from the list?
|
|
|
|
/* ignore */ |
|
|
|
self.servers.remove(&from); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
Packet::QueryServers(region, filter) => match Filter::from_bytes(&filter) { |
|
|
|
Packet::QueryServers(region, filter) => match Filter::from_bytes(&filter) { |
|
|
|
Ok(filter) => self.send_server_list(from, region, &filter)?, |
|
|
|
Ok(filter) => self.send_server_list(from, region, &filter)?, |
|
|
|