mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 20:19:02 -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,
|
||||
* drop all after the MAXMODES
|
||||
*/
|
||||
if (pc > MAXMODES)
|
||||
if (pc > MAXMODES-1)
|
||||
break;
|
||||
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user