diff options
Diffstat (limited to 'src/network/core')
-rw-r--r-- | src/network/core/packet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/core/packet.cpp b/src/network/core/packet.cpp index a70bd6ca0..5f48ed055 100644 --- a/src/network/core/packet.cpp +++ b/src/network/core/packet.cpp @@ -141,7 +141,7 @@ bool Packet::CanReadFromPacket(uint bytes_to_read) /* Check if variable is within packet-size */ if (this->pos + bytes_to_read > this->size) { - this->cs->CloseConnection(); + this->cs->NetworkSocketHandler::CloseConnection(); return false; } |