}
if (Req->argc < cmd->min_argc ||
- (cmd->max_argc != -1 && Req->argc > cmd->max_argc)) {
- IRC_SetPenalty(client, 2);
- return IRC_WriteStrClient(client, ERR_NEEDMOREPARAMS_MSG,
+ (cmd->max_argc != -1 && Req->argc > cmd->max_argc))
+ return IRC_WriteErrClient(client, ERR_NEEDMOREPARAMS_MSG,
Client_ID(client), Req->command);
- }
/* Command is allowed for this client: call it and count
* generated bytes in output */