diff options
author | Timo Sirainen <cras@irssi.org> | 2000-05-17 09:32:46 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-05-17 09:32:46 +0000 |
commit | 0ce6aa720c955828b272cd086a2fd29166898dd8 (patch) | |
tree | 3fd059ffc85c0e54d9e9f174dfe7037b28b8ad0e /src | |
parent | 45788e7788b6dc57ea2390a6166907d5a0825bff (diff) | |
download | irssi-0ce6aa720c955828b272cd086a2fd29166898dd8.zip |
/PART <message> displays the whole message now, not just the first word
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@224 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-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 b06d9371..2e4bfa53 100644 --- a/src/irc/core/irc-commands.c +++ b/src/irc/core/irc-commands.c @@ -306,7 +306,7 @@ static void cmd_part(const char *data, IRC_SERVER_REC *server, WI_IRC_REC *item) chanrec = 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", + irc_send_cmdv(server, *msg == '\0' ? "PART %s" : "PART %s :%s", channame, msg); g_free(params); @@ -592,7 +592,7 @@ static void cmd_cycle(gchar *data, IRC_SERVER_REC *server, WI_IRC_REC *item) chanrec = 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", + irc_send_cmdv(server, *msg == '\0' ? "PART %s" : "PART %s :%s", channame, msg); irc_send_cmdv(server, chanrec->key == NULL ? "JOIN %s" : "JOIN %s %s", channame, chanrec->key); |