mirror of https://github.com/SeanOMik/znc-push.git
Fix my previous fix.
This commit is contained in:
parent
aaa148feb5
commit
d749141f17
6
push.cpp
6
push.cpp
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue