mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-05 16:39:08 +01:00
Core/Warden: Fix Warden reporting false positive checks
Issue introduced in210176fd91(cherry picked from commitc04f53b886)
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user