diff options
Diffstat (limited to 'src/server/game/Handlers/SocialHandler.cpp')
| -rw-r--r-- | src/server/game/Handlers/SocialHandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Handlers/SocialHandler.cpp b/src/server/game/Handlers/SocialHandler.cpp index af3a38f92c6..c5279072239 100644 --- a/src/server/game/Handlers/SocialHandler.cpp +++ b/src/server/game/Handlers/SocialHandler.cpp @@ -126,7 +126,7 @@ void WorldSession::HandleAddIgnoreOpcodeCallBack(PreparedQueryResult result) if (ObjectGuid::LowType lowGuid = fields[0].GetUInt64()) { - ignoreGuid = ObjectGuid::Create<HighGuid::Player>((*result)[0].GetUInt64()); + ignoreGuid = ObjectGuid::Create<HighGuid::Player>(lowGuid); if (ignoreGuid == GetPlayer()->GetGUID()) //not add yourself ignoreResult = FRIEND_IGNORE_SELF; @@ -159,6 +159,6 @@ void WorldSession::HandleDelIgnoreOpcode(WorldPackets::Social::DelIgnore& packet void WorldSession::HandleSetContactNotesOpcode(WorldPackets::Social::SetContactNotes& packet) { /// @todo: handle VirtualRealmAddress - TC_LOG_DEBUG("network", "WorldSession::HandleSetContactNotesOpcode: Contact: %s, Notes: %s", packet.Player.Guid.ToString().c_str(), packet.Notes); + TC_LOG_DEBUG("network", "WorldSession::HandleSetContactNotesOpcode: Contact: %s, Notes: %s", packet.Player.Guid.ToString().c_str(), packet.Notes.c_str()); _player->GetSocial()->SetFriendNote(packet.Player.Guid, packet.Notes); } |
