summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-14 17:26:04 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-01-14 17:26:04 +0000
commit16e251d74a8fbd4e1f540cb950e1b85697e0c566 (patch)
tree502b65d671e0991c3a42fcea29b8c85053e0e5c1 /src
parent3446072b3e42b0c947ac95f88025eb068f03f4f4 (diff)
g++ is picky about default params with overloading
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6324 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/wildcard.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wildcard.cpp b/src/wildcard.cpp
index 2243bc882..f888b68cf 100644
--- a/src/wildcard.cpp
+++ b/src/wildcard.cpp
@@ -140,3 +140,9 @@ bool match(bool case_sensitive, const char *str, const char *mask, bool use_cidr
return true;
return csmatch(str, mask);
}
+
+bool match(bool case_sensitive, const char *str, const char *mask)
+{
+ return case_sensitive ? csmatch(str, mask) : match(str, mask);
+}
+