diff options
author | DDuarte <dnpd.dd@gmail.com> | 2014-11-10 05:53:05 +0000 |
---|---|---|
committer | DDuarte <dnpd.dd@gmail.com> | 2014-11-10 05:53:05 +0000 |
commit | ec7923c2e6f7778d82e8102d38cd54e0827fb840 (patch) | |
tree | 9fe805b797f9e1d899e217f5b88c3e7d9dfe81c9 /src/server/game/Handlers/QueryHandler.cpp | |
parent | 4b0a97af92b114e37c5eab8e77fec62a8f383247 (diff) |
Core/Packets: CMSG_NAME_QUERY (QueryPlayerName) handler
Diffstat (limited to 'src/server/game/Handlers/QueryHandler.cpp')
-rw-r--r-- | src/server/game/Handlers/QueryHandler.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/server/game/Handlers/QueryHandler.cpp b/src/server/game/Handlers/QueryHandler.cpp index 7ee9b7db982..8a2cedab4d7 100644 --- a/src/server/game/Handlers/QueryHandler.cpp +++ b/src/server/game/Handlers/QueryHandler.cpp @@ -64,15 +64,9 @@ void WorldSession::SendNameQueryOpcode(ObjectGuid guid) SendPacket(&data); } -void WorldSession::HandleNameQueryOpcode(WorldPacket& recvData) +void WorldSession::HandleNameQueryOpcode(WorldPackets::Character::QueryPlayerName& queryPlayerName) { - ObjectGuid guid; - recvData >> guid; - - // This is disable by default to prevent lots of console spam - // TC_LOG_INFO("network", "HandleNameQueryOpcode %u", guid); - - SendNameQueryOpcode(guid); + SendNameQueryOpcode(queryPlayerName.Player); } void WorldSession::HandleQueryTimeOpcode(WorldPacket & /*recvData*/) |