diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-09 20:36:10 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-09 20:36:10 +0000 |
commit | 02c0611d3621fef5e8adb57f6bdb4f4ed6b22f25 (patch) | |
tree | 7f271bff064c2189aace4219bea31fb588fbafbb | |
parent | 0c196156243c1e0185ca1c314ceaf64215d9ebd3 (diff) |
Fix the other logic bug found by peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6924 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/cmd_who.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_who.cpp b/src/cmd_who.cpp index d246a72f1..914d46cef 100644 --- a/src/cmd_who.cpp +++ b/src/cmd_who.cpp @@ -243,7 +243,7 @@ CmdResult cmd_who::Handle (const char** parameters, int pcnt, userrec *user) } } /* Send the results out */ - if ((whoresults.size() < (size_t)ServerInstance->Config->MaxWhoResults) && (!opt_unlimit)) + if ((whoresults.size() <= (size_t)ServerInstance->Config->MaxWhoResults) || opt_unlimit) { for (std::vector<std::string>::const_iterator n = whoresults.begin(); n != whoresults.end(); n++) user->WriteServ(*n); |