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