From df8f38b8a8789b0de19f34a8fa07572247ad400a Mon Sep 17 00:00:00 2001 From: Kai Philipp Date: Mon, 9 Sep 2019 20:46:28 +0200 Subject: [PATCH] different error msg --- src/net/common/serverlobbythread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/common/serverlobbythread.cpp b/src/net/common/serverlobbythread.cpp index be42dae9..4126f28c 100644 --- a/src/net/common/serverlobbythread.cpp +++ b/src/net/common/serverlobbythread.cpp @@ -1436,7 +1436,7 @@ ServerLobbyThread::HandleNetPacketJoinGame(boost::shared_ptr sessio ){ SendJoinGameFailed(session, joinGame.gameid(), NTF_NET_JOIN_IP_BLOCKED); }else if (!session->IsPlayerAllowedToJoinLimitRank()) { - SendJoinGameFailed(session, joinGame.gameid(), NTF_NET_JOIN_IP_BLOCKED); + SendJoinGameFailed(session, joinGame.gameid(), NTF_NET_JOIN_GAME_INVALID); } } else { MoveSessionToGame(game, session, joinGame.autoleave(), false);