mirror of
https://github.com/inspircd/inspircd.git
synced 2025-04-03 06:40:04 -04:00
Its true i cant count! :P this one i spotted in testing.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3282 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
a7f994a7ba
commit
20c2b0716a
@ -592,7 +592,7 @@ void ModeParser::ProcessModes(char **parameters,userrec* user,chanrec *chan,int
|
|||||||
/* If we have more than MAXMODES changes in one line,
|
/* If we have more than MAXMODES changes in one line,
|
||||||
* drop all after the MAXMODES
|
* drop all after the MAXMODES
|
||||||
*/
|
*/
|
||||||
if (pc > MAXMODES)
|
if (pc > MAXMODES-1)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user