mirror of https://github.com/SeanOMik/znc-push.git
Revert "add using ExpandString"
This commit is reportedly causing compilation issues against ZNC 1.0.
This reverts commit fa46469662
.
This commit is contained in:
parent
cffafa1256
commit
d52af3483e
4
push.cpp
4
push.cpp
|
@ -540,7 +540,7 @@ class CPushMod : public CModule
|
|||
|
||||
value = "*" + value + "*";
|
||||
|
||||
if (msg.WildCmp(this->ExpandString(value).MakeLower()))
|
||||
if (msg.WildCmp(value))
|
||||
{
|
||||
return push;
|
||||
}
|
||||
|
@ -614,7 +614,7 @@ class CPushMod : public CModule
|
|||
|
||||
for (VCString::iterator i = blacklist.begin(); i != blacklist.end(); i++)
|
||||
{
|
||||
if (name.WildCmp(this->ExpandString(i->AsLower()).MakeLower()))
|
||||
if (name.WildCmp(i->AsLower()))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue