diff options
author | Timo Sirainen <cras@irssi.org> | 2001-11-04 18:11:59 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-11-04 18:11:59 +0000 |
commit | f4e98cc936051f6c5ec58712e73471db88d08a0a (patch) | |
tree | d10dde601fbb446ab05c00bae28562c0d919a7ad | |
parent | dd04f35cc65e415e923934b6f72f09d242496f89 (diff) | |
download | irssi-f4e98cc936051f6c5ec58712e73471db88d08a0a.zip |
Looks like I went and broke /PART accidentally..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1970 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | src/irc/core/irc-commands.c | 4 |
1 files 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); |