mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-08 16:16:17 +00:00
Don't try disconnecting when you don't have a socket
This commit is contained in:
parent
35b82080c4
commit
fc09f1e9c7
@ -816,7 +816,6 @@ void server::run() {
|
||||
}
|
||||
if (!e.socket) {
|
||||
ERR_SERVER << "network error: " << e.message << "\n";
|
||||
e.disconnect();
|
||||
continue;
|
||||
}
|
||||
DBG_SERVER << "socket closed: " << e.message << "\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user