diff --git a/src/game/Handlers/GroupHandler.cpp b/src/game/Handlers/GroupHandler.cpp index 5cd85b09b59..8c3e6f06759 100644 --- a/src/game/Handlers/GroupHandler.cpp +++ b/src/game/Handlers/GroupHandler.cpp @@ -327,7 +327,7 @@ void WorldSession::HandleGroupSetLeaderOpcode(WorldPacket& recv_data) #endif /** error handling **/ - if (!player || !group->IsLeader(GetPlayer()->GetObjectGuid()) || player->GetGroup() != group) + if (!player || player == GetPlayer() || !group->IsLeader(GetPlayer()->GetObjectGuid()) || player->GetGroup() != group) return; /********************/