mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
Core/Warden: Fix Warden reporting false positive checks
Issue introduced in 210176fd91
This commit is contained in:
@@ -391,7 +391,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());
|
||||
|
||||
Reference in New Issue
Block a user