From a41c4d73c05da5ae0f2db18c66c705d4acda1589 Mon Sep 17 00:00:00 2001 From: Nico Giansanti Date: Sat, 3 Jul 2021 20:06:56 +0300 Subject: [PATCH] Fix NESiCA bug Fix NESiCA bug --- OpenParrot/src/Functions/Nesica_Libs/RegHooks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenParrot/src/Functions/Nesica_Libs/RegHooks.cpp b/OpenParrot/src/Functions/Nesica_Libs/RegHooks.cpp index c7c0fab..506d548 100644 --- a/OpenParrot/src/Functions/Nesica_Libs/RegHooks.cpp +++ b/OpenParrot/src/Functions/Nesica_Libs/RegHooks.cpp @@ -588,7 +588,7 @@ LSTATUS __stdcall RegQueryValueExWWrap( *lpData = FillDwordInformation("NESiCA", "SystemType", SystemType);; // UNK *lpcbData = 4; } - if (wcsicmp(lpValueName, L"ConditionTime") == 0) // REG_DWORD + else if (wcsicmp(lpValueName, L"ConditionTime") == 0) // REG_DWORD { *lpData = FillDwordInformation("NESiCA", "ConditionTime", 300); // UNK *lpcbData = 4;