From fa464696628b1db9168aa446b555c2c2699268a6 Mon Sep 17 00:00:00 2001 From: Daniel Wallace Date: Sat, 22 Dec 2012 02:18:26 -0500 Subject: [PATCH] add using ExpandString this allows you to add to your highlights something like %nick% so if you are /nicked to something else you can still get highlights or any other ExpandStrings --- push.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/push.cpp b/push.cpp index ce28976..3e8aa2a 100644 --- a/push.cpp +++ b/push.cpp @@ -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; }