[7470] Fixed possible loot exploit, thanks to leak` for reporting Author: arrai

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-16 15:49:21 -06:00
parent 8921eb048d
commit 6a3da0932f
+3
View File
@@ -7624,6 +7624,9 @@ void Player::SendLootRelease( uint64 guid )
void Player::SendLoot(uint64 guid, LootType loot_type)
{
if (uint64 lguid = GetLootGUID())
m_session->DoLootRelease(lguid);
Loot *loot = 0;
PermissionTypes permission = ALL_PERMISSION;