diff options
| author | 2006-02-21 21:49:06 +0000 | |
|---|---|---|
| committer | 2006-02-21 21:49:06 +0000 | |
| commit | 20c2b0716a66bcd0c1ae5805aa54d600ebc1306a (patch) | |
| tree | 0f50a36e5340a56e953ed7d9aa03babd55be0da7 /src/mode.cpp | |
| parent | More error descriptives (diff) | |
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
Diffstat (limited to 'src/mode.cpp')
| -rw-r--r-- | src/mode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mode.cpp b/src/mode.cpp index b2abd0563..02fdd937d 100644 --- a/src/mode.cpp +++ b/src/mode.cpp @@ -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; { |
