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

This commit is contained in:
lotodore committed 2008-12-07 11:04:42 +00:00
1 parent e0c1662fa5
commit 89450a9a32
5 files changed
+51 -29

No files matched your search

+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.