diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-08 17:27:49 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-08 17:27:49 +0000 |
commit | 92153766b5c1c62602e56b06ef9db41dcf371685 (patch) | |
tree | 0c4cab063fb0d1cd705354e6b18ef7f0c8375c09 /src/commands/cmd_who.cpp | |
parent | f34b371715aa427b91be7de39472763092dbf53a (diff) |
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
Diffstat (limited to 'src/commands/cmd_who.cpp')
-rw-r--r-- | src/commands/cmd_who.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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<std::string>& parameters, User * } } - if (parameters.size() > 1) + if (ServerInstance->FindServerName(matchtext)) + usingwildcards = true; + + if (!parameters.empty()) { /* parse flags */ const char *iter = parameters[1].c_str(); |