mirror of
https://github.com/znc/znc.git
synced 2026-08-06 17:03:14 +02:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user