]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/wildcard.cpp
Now with added ANGRY MONKEYS.
[user/henk/code/inspircd.git] / src / wildcard.cpp
index 3b4554f0fe5226215a76c93de2ef48ca91480b9c..e626f2aa287a454edf422738ee3cce684a26e254 100644 (file)
@@ -86,7 +86,7 @@ bool match(const char *str, const char *mask)
 /* Overloaded function that has the option of using cidr */
 bool match(const char *str, const char *mask, bool use_cidr_match)
 {
-       if (use_cidr_match && MatchCIDR(str, mask))
+       if (use_cidr_match && MatchCIDR(str, mask, true))
                return true;
        return match(str, mask);
 }