Preparing the use of the report bad avatar function.

This commit is contained in:
lotodore
2010-12-24 12:27:46 +00:00
parent 6de66ec8a2
commit 710affb1e5
6 changed files with 34 additions and 1 deletions
+7
View File
@@ -457,6 +457,13 @@ void
myNetClient->SendRejectGameInvitation(gameId, reason);
}
void Session::reportBadAvatar(unsigned reportedPlayerId, const std::string &avatarHash)
{
if (!myNetClient)
return; // only act if client is running.
myNetClient->SendReportAvatar(reportedPlayerId, avatarHash);
}
void Session::voteKick(bool doKick)
{
if (!myNetClient)