update from znc-push git

master
Jordan Koch 2019-07-21 11:51:32 -04:00
父節點 187b45a9ed
當前提交 68642ed151
共有 1 個檔案被更改,包括 2 行新增12 行删除

查看文件

@ -975,9 +975,6 @@ class CPushMod : public CModule
options["highlight"].Split(" ", values, false);
values.push_back("%nick%");
bool matched = false;
bool negated = false;
for (VCString::iterator i = values.begin(); i != values.end(); i++)
{
CString value = i->AsLower();
@ -1008,18 +1005,11 @@ class CPushMod : public CModule
if (msg.WildCmp(value))
{
if (negate_match)
{
negated = true;
}
else
{
matched = true;
}
return !negate_match;
}
}
return (matched && !negated);
return false;
}
/**