mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Cleanup
This commit is contained in:
@@ -217,7 +217,7 @@ void LobbyServer::onDisconnected(const NetworkConnectionPtr & connection, const
|
||||
|
||||
if(activeProxies.count(connection))
|
||||
{
|
||||
auto & otherConnection = activeProxies.at(connection);
|
||||
const auto & otherConnection = activeProxies.at(connection);
|
||||
|
||||
if (otherConnection)
|
||||
otherConnection->close();
|
||||
|
||||
Reference in New Issue
Block a user