Core/Packets: updated some contactlist packets

(cherry picked from commit e01bb91)
This commit is contained in:
Aokromes committed 2017-02-01 02:11:56 +01:00
1 parent 904bbf9f5a
commit 8a63c4919e
19 files changed
+362 -379

No files matched your search

+2 -2
View File
@@ -797,7 +797,7 @@ void Channel::Invite(Player const* player, std::string const& newname)
return;
}
if (!newp->GetSocial()->HasIgnore(guid.GetCounter()))
if (!newp->GetSocial()->HasIgnore(guid))
{
InviteAppend appender(guid);
ChannelNameBuilder<InviteAppend> builder(this, appender);
@@ -900,7 +900,7 @@ void Channel::SendToAll(Builder& builder, ObjectGuid guid /*= ObjectGuid::Empty*
for (PlayerContainer::const_iterator i = _playersStore.begin(); i != _playersStore.end(); ++i)
if (Player* player = ObjectAccessor::FindConnectedPlayer(i->first))
if (!guid || !player->GetSocial()->HasIgnore(guid.GetCounter()))
if (!guid || !player->GetSocial()->HasIgnore(guid))
localizer(player);
}