regex filter doesnt apply to console
This commit is contained in:
parent
90d32c011d
commit
2f43249aa8
@ -24,7 +24,7 @@ BOOL WINAPI DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved
|
||||
|
||||
bool ProcessSentence(std::wstring& sentence, SentenceInfo sentenceInfo)
|
||||
{
|
||||
if (w == nullptr) return false;
|
||||
if (w == nullptr || sentenceInfo["hook address"] == -1) return false;
|
||||
std::lock_guard l(w->m);
|
||||
sentence = std::regex_replace(sentence, w->regex, L"");
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user