From 0c828ad6d498a15f42b1d281ea979135a91b87e2 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 14 Jan 2007 13:30:43 +0000 Subject: Add alias:matchcase config setting (per-alias, determines wether to match case on format string) and ability for case sensitive match() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6319 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/wildcard.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include/wildcard.h') diff --git a/include/wildcard.h b/include/wildcard.h index f971d7b34..4bea2ff02 100644 --- a/include/wildcard.h +++ b/include/wildcard.h @@ -13,6 +13,5 @@ #include "inspircd_config.h" -bool match(const char* str, const char* mask); -bool match(const char *str, const char *mask, bool use_cidr_match); - +bool match(const char *str, const char *mask, bool use_cidr_match = false); +bool match(bool case_sensitive, const char *str, const char *mask, bool use_cidr_match = false); -- cgit v1.2.3