]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/wildcard.cpp
Add strerror(errno) to port bind failure on TreeSocket
[user/henk/code/inspircd.git] / src / wildcard.cpp
index 2243bc88217578b4607650a0c00e081aaaa407a4..f888b68cfb7943883d54ab7d86bb73ba264c1161 100644 (file)
@@ -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);
+}
+