1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

Looks like I went and broke /PART accidentally..

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1970 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-11-04 18:11:59 +00:00 committed by cras
parent dd04f35cc6
commit f4e98cc936

View File

@ -141,8 +141,8 @@ static void cmd_part(const char *data, IRC_SERVER_REC *server,
CMD_IRC_SERVER(server);
if (!cmd_get_params(data, &free_arg, 2 |
PARAM_FLAG_GETREST, item, &channame, &msg))
if (!cmd_get_params(data, &free_arg, 2 | PARAM_FLAG_GETREST |
PARAM_FLAG_OPTCHAN, item, &channame, &msg))
return;
if (*channame == '\0') cmd_param_error(CMDERR_NOT_ENOUGH_PARAMS);