From 805d47c98e48df374976972c3fcbba36fd4289f8 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 7 Dec 2008 18:31:57 +0000 Subject: Move stuff to use ASCII map where required. Also move this out of being a member totally, as it breaks (gah) and is already untidy.. to be revisited. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10858 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cidr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cidr.cpp') diff --git a/src/cidr.cpp b/src/cidr.cpp index 91f4d0237..669ccd8d2 100644 --- a/src/cidr.cpp +++ b/src/cidr.cpp @@ -90,7 +90,7 @@ bool irc::sockets::MatchCIDR(const std::string &address, const std::string &cidr * symbols, and recursively call MatchCIDR without * username matching enabled to match the host part. */ - return (InspIRCd::Match(address.substr(0, username_addr_pos), cidr_mask.substr(0, username_mask_pos), NULL) && + return (InspIRCd::Match(address.substr(0, username_addr_pos), cidr_mask.substr(0, username_mask_pos), ascii_case_insensitive_map) && MatchCIDR(address.substr(username_addr_pos + 1), cidr_mask.substr(username_mask_pos + 1), false)); } else -- cgit v1.3.1-10-gc9f91