From e5d56ad162767e185166aa43dd18b159cb332ddc Mon Sep 17 00:00:00 2001 From: lotodore Date: Thu, 6 Aug 2009 20:05:49 +0000 Subject: [PATCH] Fixing vote kick. --- src/net/common/servergamestate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/common/servergamestate.cpp b/src/net/common/servergamestate.cpp index 0a84e181..2319c5cc 100644 --- a/src/net/common/servergamestate.cpp +++ b/src/net/common/servergamestate.cpp @@ -226,7 +226,7 @@ AbstractServerGameStateReceiving::ProcessPacket(boost::shared_ptr se if (session.playerData) { VoteKickRequestMessage_t *netVoteKick = &packet->GetMsg()->choice.voteKickRequestMessage; - server->InternalVoteKick(session, netVoteKick->petitionId, netVoteKick->voteKick ? KICK_VOTE_AGAINST : KICK_VOTE_IN_FAVOUR); + server->InternalVoteKick(session, netVoteKick->petitionId, netVoteKick->voteKick ? KICK_VOTE_IN_FAVOUR : KICK_VOTE_AGAINST); } } // Chat text is always allowed.