From 40c5b25db4aef95957788c46de1005708ce000d2 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Sat, 1 Jun 2013 23:00:55 +0200 Subject: Remove #define MAXPARAMETERS and "MAXPARA" 005 token --- src/command_parse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/command_parse.cpp') 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); -- cgit v1.3.1-10-gc9f91