#include "helperfuncs.h"
#include "inspstring.h"
+using irc::sockets::MatchCIDR;
+
extern char lowermap[255];
// Wed 27 Apr 2005 - Brain
return !*wild;
}
+/* 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, true))
+ return true;
+ return match(str, mask);
+}