mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +00:00
[10815] Use in social lists API ObjectGuid form.
0 GUID_LOPART uses in code. :)
This commit is contained in:
parent
3c0b80dada
commit
a8a7f3c796
13 changed files with 55 additions and 53 deletions
|
|
@ -623,7 +623,7 @@ void Channel::Invite(uint64 p, const char *newname)
|
|||
}
|
||||
|
||||
WorldPacket data;
|
||||
if(!newp->GetSocial()->HasIgnore(GUID_LOPART(p)))
|
||||
if(!newp->GetSocial()->HasIgnore(p))
|
||||
{
|
||||
MakeInvite(&data, p);
|
||||
SendToOne(&data, newp->GetGUID());
|
||||
|
|
@ -668,7 +668,7 @@ void Channel::SendToAll(WorldPacket *data, uint64 p)
|
|||
Player *plr = sObjectMgr.GetPlayer(i->first);
|
||||
if(plr)
|
||||
{
|
||||
if(!p || !plr->GetSocial()->HasIgnore(GUID_LOPART(p)))
|
||||
if(!p || !plr->GetSocial()->HasIgnore(p))
|
||||
plr->GetSession()->SendPacket(data);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue