diff options
author | Aokromes <jipr@hotmail.com> | 2013-04-26 07:46:07 -0700 |
---|---|---|
committer | Aokromes <jipr@hotmail.com> | 2013-04-26 07:46:07 -0700 |
commit | 08dfe306187500567ee93924a4188943b03cb93a (patch) | |
tree | 8968b980e56682d2da0fc7b052d1735f6a3a0e50 | |
parent | 6dbd574a69071697788632db0d1a2dc662854a18 (diff) | |
parent | 25d064432667973fb2b3ef1e111745ecffcbcdd4 (diff) |
Merge pull request #9715 from xjose93/ImproveLog4
Core/Guild: Add guid of gm and guildname to log when an item its deposit on guildbank.
-rw-r--r-- | src/server/game/Guilds/Guild.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/game/Guilds/Guild.cpp b/src/server/game/Guilds/Guild.cpp index 158a20d67d1..6421f9caa65 100644 --- a/src/server/game/Guilds/Guild.cpp +++ b/src/server/game/Guilds/Guild.cpp @@ -986,10 +986,10 @@ void Guild::BankMoveItemData::LogAction(MoveItemData* pFrom) const if (!pFrom->IsBank() && m_pPlayer->GetSession()->HasPermission(RBAC_PERM_LOG_GM_TRADE)) /// @todo Move this to scripts { sLog->outCommand(m_pPlayer->GetSession()->GetAccountId(), - "GM %s (Account: %u) deposit item: %s (Entry: %d Count: %u) to guild bank (Guild ID: %u)", - m_pPlayer->GetName().c_str(), m_pPlayer->GetSession()->GetAccountId(), + "GM %s (Guid: %u) (Account: %u) deposit item: %s (Entry: %d Count: %u) to guild bank named: %s (Guild ID: %u)", + GUID_LOPART(m_pPlayer->GetGUID()), m_pPlayer->GetName().c_str(), m_pPlayer->GetSession()->GetAccountId(), pFrom->GetItem()->GetTemplate()->Name1.c_str(), pFrom->GetItem()->GetEntry(), pFrom->GetItem()->GetCount(), - m_pGuild->GetId()); + m_pGuild->GetName().c_str(), m_pGuild->GetId()); } } |