Skip to content

Commit

Permalink
Merge pull request #22 from gtmanfred/master
Browse files Browse the repository at this point in the history
add support for expandstring
  • Loading branch information
amyreese committed Dec 23, 2012
2 parents e2a3bb9 + fa46469 commit cffafa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions push.cpp
Expand Up @@ -540,7 +540,7 @@ class CPushMod : public CModule

value = "*" + value + "*";

if (msg.WildCmp(value))
if (msg.WildCmp(this->ExpandString(value).MakeLower()))
{
return push;
}
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit cffafa1

Please sign in to comment.