summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/commands/cmd_who.cpp5
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();