diff options
Diffstat (limited to 'src/command_parse.cpp')
-rw-r--r-- | src/command_parse.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp index 173348338..0be458d57 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -270,7 +270,7 @@ bool CommandParser::ProcessCommand(User *user, std::string &cmd) if (*command.c_str() == ':') tokens.GetToken(command); - while (tokens.GetToken(token) && (command_p.size() < MAXPARAMETERS)) + while (tokens.GetToken(token) && (command_p.size() <= MAXPARAMETERS)) command_p.push_back(token); std::transform(command.begin(), command.end(), command.begin(), ::toupper); |