From f4e98cc936051f6c5ec58712e73471db88d08a0a Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 4 Nov 2001 18:11:59 +0000 Subject: [PATCH] Looks like I went and broke /PART accidentally.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1970 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/core/irc-commands.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/irc/core/irc-commands.c b/src/irc/core/irc-commands.c index bb7c3448..94df20d9 100644 --- a/src/irc/core/irc-commands.c +++ b/src/irc/core/irc-commands.c @@ -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);