Core/Player: Implemented auto declining guild invites

This commit is contained in:
Shauren
2012-09-07 16:21:04 +02:00
parent e34124f6bf
commit eda5c3a9bf
4 changed files with 11 additions and 2 deletions

View File

@@ -774,3 +774,11 @@ void WorldSession::HandleGuildRequestMaxDailyXP(WorldPacket& recvPacket)
}
}
}
void WorldSession::HandleAutoDeclineGuildInvites(WorldPacket& recvPakcet)
{
uint8 enable;
recvPakcet >> enable;
GetPlayer()->ApplyModFlag(PLAYER_FLAGS, PLAYER_FLAGS_AUTO_DECLINE_GUILD, enable);
}