mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/PacketIO: Fixed cmsg packet logging
This commit is contained in:
@@ -145,7 +145,7 @@ void PacketLog::LogPacket(WorldPacket const& packet, Direction direction, boost:
|
||||
data += 2;
|
||||
size -= 2;
|
||||
}
|
||||
fwrite(packet.contents(), 1, packet.size(), _file);
|
||||
fwrite(data, 1, size, _file);
|
||||
}
|
||||
|
||||
fflush(_file);
|
||||
|
||||
Reference in New Issue
Block a user