From ffdcd9af611c45fc9cbba460db505067e2a59c16 Mon Sep 17 00:00:00 2001 From: Kai Philipp Date: Thu, 3 Oct 2019 20:28:52 +0200 Subject: [PATCH] bugfix ip block --- src/net/common/serverlobbythread.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/net/common/serverlobbythread.cpp b/src/net/common/serverlobbythread.cpp index 972d4d08..d7d83814 100644 --- a/src/net/common/serverlobbythread.cpp +++ b/src/net/common/serverlobbythread.cpp @@ -1441,8 +1441,7 @@ ServerLobbyThread::HandleNetPacketJoinGame(boost::shared_ptr sessio && session->GetClientAddr() != SERVER_ADDRESS_LOCALHOST_STR_V4V6 && session->GetClientAddr() != SERVER_ADDRESS_LOCALHOST_STR_V4 && game->IsClientAddressConnected(session->GetClientAddr())) { - ){ - SendJoinGameFailed(session, joinGame.gameid(), NTF_NET_JOIN_IP_BLOCKED); + SendJoinGameFailed(session, joinGame.gameid(), NTF_NET_JOIN_IP_BLOCKED); } else { MoveSessionToGame(game, session, joinGame.autoleave(), false); }