cmd_get_params() calls had wrong parameter counts.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@371 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-06-20 09:21:54 +00:00 committed by cras
commit 2cb75b5eb2
4 changed files with 4 additions and 4 deletions

View file

@ -109,7 +109,7 @@ static void cmd_action(const char *data, IRC_SERVER_REC *server)
return;
}
if (!cmd_get_params(data, &free_arg, 3 | PARAM_FLAG_GETREST, &target, &text))
if (!cmd_get_params(data, &free_arg, 2 | PARAM_FLAG_GETREST, &target, &text))
return;
if (*target == '\0' || *text == '\0') cmd_param_error(CMDERR_NOT_ENOUGH_PARAMS);