From: attilamolnar Date: Sat, 1 Jun 2013 18:53:45 +0000 (+0200) Subject: cmd_who Hide +i users when listing users on a server and hidewhois is off X-Git-Tag: v2.0.23~287 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;ds=sidebyside;h=c8ef121681b73748bb78a2fdefca5d5973491f25;p=user%2Fhenk%2Fcode%2Finspircd.git cmd_who Hide +i users when listing users on a server and hidewhois is off Fixes #547 reported by @RawrDragon --- diff --git a/src/commands/cmd_who.cpp b/src/commands/cmd_who.cpp index c8cb67694..f8926b9f7 100644 --- a/src/commands/cmd_who.cpp +++ b/src/commands/cmd_who.cpp @@ -264,7 +264,7 @@ CmdResult CommandWho::Handle (const std::vector& parameters, User * for (const char* check = matchtext; *check; check++) { - if (*check == '*' || *check == '?') + if (*check == '*' || *check == '?' || *check == '.') { usingwildcards = true; break;