summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/network/core/packet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/core/packet.cpp b/src/network/core/packet.cpp
index 737b4624c..e106d5787 100644
--- a/src/network/core/packet.cpp
+++ b/src/network/core/packet.cpp
@@ -98,7 +98,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;
}
/*