From e69bc73572022d6ac755201d23277cc1d48e024a Mon Sep 17 00:00:00 2001 From: Robert Date: Sat, 4 Sep 2021 22:49:59 +0100 Subject: [PATCH] Correct string used in alternate clean check. --- extension.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension.cpp b/extension.cpp index 1371c5f..45e103c 100644 --- a/extension.cpp +++ b/extension.cpp @@ -36,7 +36,7 @@ vector szStrings; { // make sure we're stripping at least 2 or more chars just in case we accidentally inhale a \0 // also there's no reason to strip a single char ever - if (szStrings[i].length() >= 2 && szStrings[i].find(pMessage) != string::npos) + if (szStrings[i].length() >= 2 && szStrings[i].find(text) != string::npos) { return SPEW_CONTINUE; }