diff --git a/src/game/Anticheat/module/Warden/warden.cpp b/src/game/Anticheat/module/Warden/warden.cpp index 67a596e377..aae372d2e3 100644 --- a/src/game/Anticheat/module/Warden/warden.cpp +++ b/src/game/Anticheat/module/Warden/warden.cpp @@ -418,7 +418,7 @@ void Warden::HandlePacket(WorldPacket& recvData) uint32 checksum; recvData >> length >> checksum; - if (length > (recvData.size() - (recvData.rpos() + 1))) + if (length > (recvData.size() - recvData.rpos())) { recvData.rpos(recvData.wpos()); _anticheat->RecordCheatInternal(CheatType::CHEAT_TYPE_WARDEN, "Packet checksum length fail");