From 92153766b5c1c62602e56b06ef9db41dcf371685 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 8 May 2008 17:27:49 +0000 Subject: 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 --- src/commands/cmd_who.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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(); -- cgit v1.2.3