From d52af3483ee06dd79008de33d08080414855e2a4 Mon Sep 17 00:00:00 2001 From: John Reese Date: Wed, 2 Jan 2013 10:18:37 -0800 Subject: [PATCH] Revert "add using ExpandString" This commit is reportedly causing compilation issues against ZNC 1.0. This reverts commit fa464696628b1db9168aa446b555c2c2699268a6. --- push.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/push.cpp b/push.cpp index 3e8aa2a..ce28976 100644 --- a/push.cpp +++ b/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; }