diff options
| author | 2013-06-01 23:00:55 +0200 | |
|---|---|---|
| committer | 2013-06-01 23:00:55 +0200 | |
| commit | 40c5b25db4aef95957788c46de1005708ce000d2 (patch) | |
| tree | f6cba8f73bf50dd2c611d85d4d5c28d917e0bb47 /src/command_parse.cpp | |
| parent | CommandParser::ProcessCommand() and ProcessBuffer() cleanup (diff) | |
Remove #define MAXPARAMETERS and "MAXPARA" 005 token
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 e3d928a2f..bb86219d7 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -196,7 +196,7 @@ void CommandParser::ProcessCommand(LocalUser *user, std::string &cmd) if (command[0] == ':') tokens.GetToken(command); - while (tokens.GetToken(token) && (command_p.size() <= MAXPARAMETERS)) + while (tokens.GetToken(token)) command_p.push_back(token); std::transform(command.begin(), command.end(), command.begin(), ::toupper); |
