summaryrefslogtreecommitdiff
path: root/src/cidr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cidr.cpp')
-rw-r--r--src/cidr.cpp2
1 files changed, 1 insertions, 1 deletions
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