Core/PacketIO: Fixed cmsg packet logging

This commit is contained in:
Shauren
2019-09-08 01:24:24 +02:00
parent db3d287626
commit 63c2c82c80

View File

@@ -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);