mirror of
https://github.com/chocolate-doom/master-server.git
synced 2024-11-13 00:24:42 +00:00
Fix rare crash with double-delete of timed-out servers.
Subversion-branch: /master Subversion-revision: 2480
This commit is contained in:
parent
da3ab15169
commit
da23130736
1 changed files with 1 additions and 1 deletions
|
@ -342,7 +342,7 @@ class MasterServer:
|
||||||
# Expect a response to queries quickly, otherwise add
|
# Expect a response to queries quickly, otherwise add
|
||||||
# requests are rejected.
|
# requests are rejected.
|
||||||
|
|
||||||
if not server.verified and time() - server.refresh_time > 5:
|
elif not server.verified and time() - server.refresh_time > 5:
|
||||||
self.log_output(server.addr,
|
self.log_output(server.addr,
|
||||||
"No response to query, add rejected")
|
"No response to query, add rejected")
|
||||||
self.send_add_response(server, 0)
|
self.send_add_response(server, 0)
|
||||||
|
|
Loading…
Reference in a new issue