Moved CUtils::wildcmp() into CString class

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@251 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-05-08 07:51:46 +00:00
parent 1c5981ee6d
commit 0823b27f37
7 changed files with 10 additions and 50 deletions
+1 -1
View File
@@ -207,7 +207,7 @@ public:
if ((strcmp(de->d_name, ".") == 0) || (strcmp(de->d_name, "..") == 0)) {
continue;
}
if ((!sWildcard.empty()) && (!CUtils::wildcmp(sWildcard.c_str(), de->d_name))) {
if ((!sWildcard.empty()) && (!CString(de->d_name).WildCmp(sWildcard))) {
continue;
}