mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 20:19:02 -04:00
Backport r8310 by hand
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@8311 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
d528c5e9eb
commit
377d879f48
@ -138,7 +138,8 @@ CoreExport bool match(bool case_sensitive, const char *str, const char *mask, bo
|
||||
{
|
||||
if (use_cidr_match && MatchCIDR(str, mask, true))
|
||||
return true;
|
||||
return csmatch(str, mask);
|
||||
|
||||
return case_sensitive ? csmatch(str, mask) : match(str, mask);
|
||||
}
|
||||
|
||||
CoreExport bool match(bool case_sensitive, const char *str, const char *mask)
|
||||
|
Loading…
x
Reference in New Issue
Block a user