Core/Warden: Fix Warden reporting false positive checks

Issue introduced in 210176fd91

(cherry picked from commit c04f53b886)
This commit is contained in:
jackpoz
2020-08-08 17:24:18 +02:00
committed by Shauren
parent 00a6f6f705
commit d8cdbac670

View File

@@ -392,7 +392,7 @@ void WardenWin::HandleData(ByteBuffer &buff)
continue;
}
std::vector<uint8> result = rs->Result.ToByteVector();
std::vector<uint8> result = rs->Result.ToByteVector(0, false);
if (memcmp(buff.contents() + buff.rpos(), result.data(), rd->Length) != 0)
{
TC_LOG_DEBUG("warden", "RESULT MEM_CHECK fail CheckId %u account Id %u", *itr, _session->GetAccountId());