[AntiCheat] Don't inherit handle

This commit is contained in:
momo5502 2017-03-11 02:30:24 +01:00
parent d87dab497a
commit 5542fe0c16

View File

@ -119,7 +119,7 @@ namespace Components
{
check.update();
if (HANDLE h = OpenProcess(PROCESS_VM_READ, TRUE, GetCurrentProcessId()))
if (HANDLE h = OpenProcess(PROCESS_VM_READ, FALSE, GetCurrentProcessId()))
{
#ifdef DEBUG_DETECTIONS
Logger::Print("AntiCheat: Process integrity check failed");