mirror of
https://github.com/JKornev/hidden
synced 2024-06-30 02:41:56 +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")
|
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");
|
throw WException(ERROR_INVALID_PARAMETER, L"Error, target 'pid' isn't allowed");
|
||||||
|
|
||||||
m_procType = EProcTypes::TypeProcessId;
|
m_procType = EProcTypes::TypeProcessId;
|
||||||
|
Loading…
Reference in New Issue
Block a user