From: brain Date: Thu, 8 May 2008 17:27:49 +0000 (+0000) Subject: When searching by servername without wildcards, conceal +i users no matter what craq... X-Git-Tag: v2.0.23~3218 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;ds=inline;h=92153766b5c1c62602e56b06ef9db41dcf371685;p=user%2Fhenk%2Fcode%2Finspircd.git When searching by servername without wildcards, conceal +i users no matter what craq the spec was on git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9668 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/src/commands/cmd_who.cpp b/src/commands/cmd_who.cpp index 51590f143..f1efe6248 100644 --- a/src/commands/cmd_who.cpp +++ b/src/commands/cmd_who.cpp @@ -209,7 +209,10 @@ CmdResult CommandWho::Handle (const std::vector& parameters, User * } } - if (parameters.size() > 1) + if (ServerInstance->FindServerName(matchtext)) + usingwildcards = true; + + if (!parameters.empty()) { /* parse flags */ const char *iter = parameters[1].c_str();