Removed bad version of WildCmp() and inserted the correct version of wildcmp()

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@40 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-03-10 06:34:19 +00:00
parent 94a61f69ee
commit 3315c349a2
6 changed files with 38 additions and 47 deletions
+2 -2
View File
@@ -67,7 +67,7 @@ public:
for (unsigned int a = 0; a < m_vsSources.size(); a++) {
const CWatchSource& WatchSource = m_vsSources[a];
if (CUtils::WildCmp(Lower(WatchSource.GetSource()), Lower(sSource))) {
if (CUtils::wildcmp(Lower(WatchSource.GetSource()), Lower(sSource))) {
if (WatchSource.IsNegated()) {
return false;
} else {
@@ -77,7 +77,7 @@ public:
}
}
return (bGoodSource && CUtils::WildCmp(Lower(m_sHostMask), Lower(Nick.GetHostMask())) && CUtils::WildCmp(Lower(m_sPattern), Lower(sText)));
return (bGoodSource && CUtils::wildcmp(Lower(m_sHostMask), Lower(Nick.GetHostMask())) && CUtils::wildcmp(Lower(m_sPattern), Lower(sText)));
}
bool operator ==(const CWatchEntry& WatchEntry) {