From 8cbc83c155bb70ec576aaf08ab9e395e00741c65 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 10 May 2008 21:11:13 +0000 Subject: Fix for bug #532 reported by dantheman, thanks git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9698 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_who.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/cmd_who.cpp') 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& parameters, User * if (ServerInstance->FindServerName(matchtext)) usingwildcards = true; - if (!parameters.empty()) + if (parameters.count() > 1) { /* parse flags */ const char *iter = parameters[1].c_str(); -- cgit v1.2.3