compile fix

This commit is contained in:
Aokromes
2016-08-03 12:13:15 +02:00
parent a69cbeb9d5
commit ee2a8eafcf

View File

@@ -117,7 +117,7 @@ void WorldSession::HandleGroupInviteOpcode(WorldPacket& recvData)
// player trying to invite himself (most likely cheating)
if (player == GetPlayer())
{
SendPartyResult(PARTY_OP_INVITE, membername, ERR_BAD_PLAYER_NAME_S);
SendPartyResult(PARTY_OP_INVITE, memberName, ERR_BAD_PLAYER_NAME_S);
return;
}
@@ -154,7 +154,7 @@ void WorldSession::HandleGroupInviteOpcode(WorldPacket& recvData)
if (!player->GetSocial()->HasFriend(GetPlayer()->GetGUID().GetCounter()) && GetPlayer()->getLevel() < sWorld->getIntConfig(CONFIG_PARTY_LEVEL_REQ))
{
SendPartyResult(PARTY_OP_INVITE, membername, ERR_INVITE_RESTRICTED);
SendPartyResult(PARTY_OP_INVITE, memberName, ERR_INVITE_RESTRICTED);
return;
}