summaryrefslogtreecommitdiff
path: root/src/commands/cmd_who.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/cmd_who.cpp')
-rw-r--r--src/commands/cmd_who.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_who.cpp b/src/commands/cmd_who.cpp
index f1efe6248..5608f3557 100644
--- a/src/commands/cmd_who.cpp
+++ b/src/commands/cmd_who.cpp
@@ -212,7 +212,7 @@ CmdResult CommandWho::Handle (const std::vector<std::string>& parameters, User *
if (ServerInstance->FindServerName(matchtext))
usingwildcards = true;
- if (!parameters.empty())
+ if (parameters.count() > 1)
{
/* parse flags */
const char *iter = parameters[1].c_str();