aboutsummaryrefslogtreecommitdiffstats
path: root/irc_commands.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-06-06 01:33:33 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-06-06 01:33:33 +0100
commit18da20bf7690ca3c1e9cf4b70c2749a11c75b339 (patch)
treeba6998f3923c2ce1d8ab041da4c3f5f7a0fa4ed0 /irc_commands.c
parentc1a8a163703a903c7a69e06286013f12d6bf865e (diff)
Added /part msgs, and the ability to silently remove users from channels
(when sending a /quit instead, for example).
Diffstat (limited to 'irc_commands.c')
-rw-r--r--irc_commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/irc_commands.c b/irc_commands.c
index ccfc2171..4ea53299 100644
--- a/irc_commands.c
+++ b/irc_commands.c
@@ -176,7 +176,7 @@ static void irc_cmd_part( irc_t *irc, char **cmd )
{
irc_send_num( irc, 403, "%s :No such channel", cmd[1] );
}
- else if( irc_channel_del_user( ic, irc->user ) )
+ else if( irc_channel_del_user( ic, irc->user, FALSE, cmd[2] ) )
{
if( ic->f->part )
ic->f->part( ic, NULL );