summaryrefslogtreecommitdiff
path: root/src/commands/cmd_who.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-10 21:11:13 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-10 21:11:13 +0000
commit8cbc83c155bb70ec576aaf08ab9e395e00741c65 (patch)
treeb3b38a0330b65a755fcf4d203e6aa50f16fc3273 /src/commands/cmd_who.cpp
parentd0a4ecd0550458aae2b75ae5612e342204fd041b (diff)
Fix for bug #532 reported by dantheman, thanks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9698 e03df62e-2008-0410-955e-edbf42e46eb7
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();