Fix 2 silly typo´s in GroupHandler.
- No longer can any party member invite a new member - Assinging raid roles is doable by raid assistant again --HG-- branch : trunk
This commit is contained in:
@@ -126,7 +126,7 @@ void WorldSession::HandleGroupInviteOpcode(WorldPacket & recv_data)
|
|||||||
if (group)
|
if (group)
|
||||||
{
|
{
|
||||||
// not have permissions for invite
|
// not have permissions for invite
|
||||||
if (group->isRaidGroup() && !group->IsLeader(GetPlayer()->GetGUID()) && !group->IsAssistant(GetPlayer()->GetGUID()))
|
if (!group->IsLeader(GetPlayer()->GetGUID() && group->IsAssistant(GetPlayer()->GetGUID())
|
||||||
{
|
{
|
||||||
SendPartyResult(PARTY_OP_INVITE, "", ERR_NOT_LEADER);
|
SendPartyResult(PARTY_OP_INVITE, "", ERR_NOT_LEADER);
|
||||||
return;
|
return;
|
||||||
@@ -597,7 +597,7 @@ void WorldSession::HandlePartyAssignmentOpcode(WorldPacket & recv_data)
|
|||||||
|
|
||||||
/** error handling **/
|
/** error handling **/
|
||||||
uint64 senderGuid = GetPlayer()->GetGUID();
|
uint64 senderGuid = GetPlayer()->GetGUID();
|
||||||
if (!group->IsLeader(senderGuid) && group->IsAssistant(senderGuid))
|
if (!group->IsLeader(senderGuid) && !group->IsAssistant(senderGuid))
|
||||||
return;
|
return;
|
||||||
/********************/
|
/********************/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user