mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-30 17:11:17 +00:00
Brainfart fix
This commit is contained in:
parent
d93bcd8332
commit
c81524347f
@ -581,8 +581,8 @@ namespace {
|
||||
if(err_sock == 0 && sock > 0)
|
||||
err_sock = sock;
|
||||
if(err_sock) {
|
||||
LOG_CS << "client disconnect due to exception: " << e.what() << " " << network::ip_address(*err_connection) << "\n";
|
||||
network::disconnect(*err_connection);
|
||||
LOG_CS << "client disconnect due to exception: " << e.what() << " " << network::ip_address(err_sock) << "\n";
|
||||
network::disconnect(err_sock);
|
||||
} else {
|
||||
throw;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user