Correct string used in alternate clean check.

This commit is contained in:
Robert 2021-09-04 22:49:59 +01:00
parent 2b6ff9c2b1
commit e69bc73572

View File

@ -36,7 +36,7 @@ vector<string> 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;
}