Merge pull request #22 from gtmanfred/master

add support for expandstring
This commit is contained in:
John Reese 2012-12-23 14:51:38 -08:00
commit cffafa1256
1 changed files with 2 additions and 2 deletions

View File

@ -540,7 +540,7 @@ class CPushMod : public CModule
value = "*" + value + "*";
if (msg.WildCmp(value))
if (msg.WildCmp(this->ExpandString(value).MakeLower()))
{
return push;
}
@ -614,7 +614,7 @@ class CPushMod : public CModule
for (VCString::iterator i = blacklist.begin(); i != blacklist.end(); i++)
{
if (name.WildCmp(i->AsLower()))
if (name.WildCmp(this->ExpandString(i->AsLower()).MakeLower()))
{
return false;
}