From 783048c6dca6fb6f612d0f613b875d4ff1a2eda3 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 7 Dec 2008 18:32:08 +0000 Subject: Convert necessary match calls to use ASCII casemap. 1.2 may now be made casemap-aware via a module setting national_case_sensitive_map to their own table, and resetting to the RFC table on unload. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10859 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_who.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/commands/cmd_who.cpp') diff --git a/src/commands/cmd_who.cpp b/src/commands/cmd_who.cpp index 6f8b91e75..dcb5e9d22 100644 --- a/src/commands/cmd_who.cpp +++ b/src/commands/cmd_who.cpp @@ -73,9 +73,9 @@ bool CommandWho::whomatch(User* user, const char* matchtext) else if (opt_realname) match = InspIRCd::Match(user->fullname, matchtext); else if (opt_showrealhost) - match = InspIRCd::Match(user->host, matchtext); + match = InspIRCd::Match(user->host, matchtext, ascii_case_insensitive_map); else if (opt_ident) - match = InspIRCd::Match(user->ident, matchtext); + match = InspIRCd::Match(user->ident, matchtext, ascii_case_insensitive_map); else if (opt_port) { irc::portparser portrange(matchtext, false); @@ -106,7 +106,7 @@ bool CommandWho::whomatch(User* user, const char* matchtext) * -- w00t */ if (!match) - match = InspIRCd::Match(user->dhost, matchtext); + match = InspIRCd::Match(user->dhost, matchtext, ascii_case_insensitive_map); if (!match) match = InspIRCd::Match(user->nick, matchtext); -- cgit v1.3.1-10-gc9f91