diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-10 21:11:13 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-10 21:11:13 +0000 |
commit | 8cbc83c155bb70ec576aaf08ab9e395e00741c65 (patch) | |
tree | b3b38a0330b65a755fcf4d203e6aa50f16fc3273 /src/commands/cmd_who.cpp | |
parent | d0a4ecd0550458aae2b75ae5612e342204fd041b (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.cpp | 2 |
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(); |