mirror of
https://git.mentality.rip/numas13/xash3d-master.git
synced 2025-01-24 05:44:23 +00:00
Ignore ServerRemove packet
This commit is contained in:
parent
81932d9e6b
commit
518f8363bb
@ -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)?,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user