More work on server side vote kick. Most error handling complete now. Client side still lacking.

This commit is contained in:
lotodore
2008-12-07 11:04:42 +00:00
parent e0c1662fa5
commit 89450a9a32
5 changed files with 51 additions and 29 deletions
+1 -1
View File
@@ -213,7 +213,7 @@ AbstractServerGameStateReceiving::Process(ServerGameThread &server)
NetPacketVoteKickPlayer::Data voteData;
packet->ToNetPacketVoteKickPlayer()->GetData(voteData);
server.InternalVoteKick(voteData.petitionId, voteData.vote);
server.InternalVoteKick(session, voteData.petitionId, voteData.vote);
}
}
// Chat text is always allowed.