From 18da20bf7690ca3c1e9cf4b70c2749a11c75b339 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sun, 6 Jun 2010 01:33:33 +0100 Subject: Added /part msgs, and the ability to silently remove users from channels (when sending a /quit instead, for example). --- irc_im.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'irc_im.c') diff --git a/irc_im.c b/irc_im.c index 7828bb4a..973cce8e 100644 --- a/irc_im.c +++ b/irc_im.c @@ -159,7 +159,7 @@ void bee_irc_channel_update( irc_t *irc, irc_channel_t *ic, irc_user_t *iu ) if( !show ) { - irc_channel_del_user( ic, iu ); + irc_channel_del_user( ic, iu, FALSE, NULL ); } else { @@ -367,7 +367,7 @@ static gboolean bee_irc_chat_free( bee_t *bee, struct groupchat *c ) /* irc_channel_free( ic ); */ - irc_channel_del_user( ic, ic->irc->user ); + irc_channel_del_user( ic, ic->irc->user, FALSE, "Chatroom closed by server" ); ic->data = NULL; return TRUE; @@ -411,7 +411,7 @@ static gboolean bee_irc_chat_remove_user( bee_t *bee, struct groupchat *c, bee_u { irc_t *irc = bee->ui_data; - irc_channel_del_user( c->ui_data, bu == bee->user ? irc->user : bu->ui_data ); + irc_channel_del_user( c->ui_data, bu == bee->user ? irc->user : bu->ui_data, FALSE, NULL ); return TRUE; } -- cgit v1.2.3