Skip to content

Commit

Permalink
[7470] Fixed possible loot exploit, thanks to leak` for reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
arrai committed Mar 16, 2009
1 parent 3f67de2 commit c3b217d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/game/Player.cpp
Expand Up @@ -7468,6 +7468,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;

Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "7469"
#define REVISION_NR "7470"
#endif // __REVISION_NR_H__

0 comments on commit c3b217d

Please sign in to comment.