diff --git a/src/net/common/clientstate.cpp b/src/net/common/clientstate.cpp index eabe9edc..0293385d 100644 --- a/src/net/common/clientstate.cpp +++ b/src/net/common/clientstate.cpp @@ -1497,7 +1497,7 @@ ClientStateWaitGame::InternalHandlePacket(boost::shared_ptr client else if (tmpPacket->GetMsg()->present == PokerTHMessage_PR_rejectInvNotifyMessage) { RejectInvNotifyMessage_t *netRejNotify = &tmpPacket->GetMsg()->choice.rejectInvNotifyMessage; - client->GetCallback().SignalPlayerGameInvitation( + client->GetCallback().SignalRejectedGameInvitation( netRejNotify->gameId, netRejNotify->playerId, static_cast(netRejNotify->playerRejectReason));