diff --git a/src/network/core/packet.cpp b/src/network/core/packet.cpp index aeff6e1acd..c3016f6a0f 100644 --- a/src/network/core/packet.cpp +++ b/src/network/core/packet.cpp @@ -82,7 +82,7 @@ void Packet::PrepareToSend() */ bool Packet::CanWriteToPacket(size_t bytes_to_write) { - return this->Size() + bytes_to_write < this->limit; + return this->Size() + bytes_to_write <= this->limit; } /*