mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-15 21:49:02 -04:00
Fix the other logic bug found by peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6924 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
0c19615624
commit
02c0611d36
@ -243,7 +243,7 @@ CmdResult cmd_who::Handle (const char** parameters, int pcnt, userrec *user)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* Send the results out */
|
/* 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++)
|
for (std::vector<std::string>::const_iterator n = whoresults.begin(); n != whoresults.end(); n++)
|
||||||
user->WriteServ(*n);
|
user->WriteServ(*n);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user