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
@@ -62,7 +62,7 @@ bool CUser::IsHostAllowed(const CString& sHostMask) {
}
for (set<CString>::iterator a = m_ssAllowedHosts.begin(); a != m_ssAllowedHosts.end(); a++) {
if (CUtils::wildcmp(*a, sHostMask)) {
if (sHostMask.WildCmp(*a)) {
return true;
}
}