diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-06-06 01:33:33 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-06-06 01:33:33 +0100 |
commit | 18da20bf7690ca3c1e9cf4b70c2749a11c75b339 (patch) | |
tree | ba6998f3923c2ce1d8ab041da4c3f5f7a0fa4ed0 /irc_im.c | |
parent | c1a8a163703a903c7a69e06286013f12d6bf865e (diff) |
Added /part msgs, and the ability to silently remove users from channels
(when sending a /quit instead, for example).
Diffstat (limited to 'irc_im.c')
-rw-r--r-- | irc_im.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; } |