mirror of
https://github.com/JKornev/hidden
synced 2024-06-20 22:18:04 +00:00
Fix for protection PID parsing
This commit is contained in:
parent
f031fc221a
commit
a780193b7c
@ -31,7 +31,7 @@ void CommandProtect::LoadArgs(Arguments& args, CommandModeType mode)
|
||||
}
|
||||
else if (object == L"pid")
|
||||
{
|
||||
if (!mode == CommandModeType::Execute)
|
||||
if (mode != CommandModeType::Execute)
|
||||
throw WException(ERROR_INVALID_PARAMETER, L"Error, target 'pid' isn't allowed");
|
||||
|
||||
m_procType = EProcTypes::TypeProcessId;
|
||||
|
Loading…
Reference in New Issue
Block a user