summaryrefslogtreecommitdiff
path: root/include/wildcard.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-14 13:30:43 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-14 13:30:43 +0000
commit0c828ad6d498a15f42b1d281ea979135a91b87e2 (patch)
tree96e8754700385a37ebef8bc3ef9d54302d672645 /include/wildcard.h
parentb3685095cd00ac6204ed17161a635888905c16d6 (diff)
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
Diffstat (limited to 'include/wildcard.h')
-rw-r--r--include/wildcard.h5
1 files changed, 2 insertions, 3 deletions
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);