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/commands.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/commands.cpp') diff --git a/src/commands.cpp b/src/commands.cpp index 7efcefc6d..364f06004 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -32,8 +32,8 @@ bool InspIRCd::HostMatchesEveryone(const std::string &mask, User* user) for (user_hash::iterator u = this->Users->clientlist->begin(); u != this->Users->clientlist->end(); u++) { - if ((InspIRCd::Match(u->second->MakeHost(), mask)) || - (InspIRCd::Match(u->second->MakeHostIP(), mask))) + if ((InspIRCd::Match(u->second->MakeHost(), mask, ascii_case_insensitive_map)) || + (InspIRCd::Match(u->second->MakeHostIP(), mask, ascii_case_insensitive_map))) { matches++; } -- cgit v1.2.3