summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-09-05 00:37:33 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-09-05 00:37:33 +0000
commit1b5099752ad2a46003797e8cc48522552d5681ef (patch)
tree246e8b51a7c01e43cb21acb9991492a57d568894 /src
parente75bea0afa32632292bff1cea7755c96c5d2ae67 (diff)
downloadirssi-1b5099752ad2a46003797e8cc48522552d5681ef.zip
/PART #channel1,#channel2 didn't work
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@644 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/irc/core/irc-commands.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/irc/core/irc-commands.c b/src/irc/core/irc-commands.c
index c6773712..bd1de2f9 100644
--- a/src/irc/core/irc-commands.c
+++ b/src/irc/core/irc-commands.c
@@ -336,7 +336,6 @@ static void cmd_join(const char *data, IRC_SERVER_REC *server)
/* SYNTAX: PART [<channels>] [<message>] */
static void cmd_part(const char *data, IRC_SERVER_REC *server, WI_ITEM_REC *item)
{
- IRC_CHANNEL_REC *chanrec;
char *channame, *msg;
void *free_arg;
@@ -348,9 +347,6 @@ static void cmd_part(const char *data, IRC_SERVER_REC *server, WI_ITEM_REC *item
return;
if (*channame == '\0') cmd_param_error(CMDERR_NOT_ENOUGH_PARAMS);
- chanrec = irc_channel_find(server, channame);
- if (chanrec == NULL) cmd_param_error(CMDERR_CHAN_NOT_FOUND);
-
irc_send_cmdv(server, *msg == '\0' ? "PART %s" : "PART %s :%s",
channame, msg);