Fix my previous fix.

This commit is contained in:
Naine 2016-02-19 17:04:59 +11:00
parent aaa148feb5
commit d749141f17
1 changed files with 3 additions and 3 deletions

View File

@ -874,15 +874,15 @@ class CPushMod : public CModule
options["highlight"].Split(" ", values, false); options["highlight"].Split(" ", values, false);
values.push_back("%nick%"); values.push_back("%nick%");
bool matched = false;
bool negated = false;
for (VCString::iterator i = values.begin(); i != values.end(); i++) for (VCString::iterator i = values.begin(); i != values.end(); i++)
{ {
CString value = i->AsLower(); CString value = i->AsLower();
char prefix = value[0]; char prefix = value[0];
bool negate_match = false; bool negate_match = false;
bool matched = false;
bool negated = false;
if (prefix == '-') if (prefix == '-')
{ {
negate_match = true; negate_match = true;