aboutsummaryrefslogtreecommitdiffstats
path: root/irc_user.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-07-04 21:40:15 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-07-04 21:40:15 +0100
commit006a84f999248d1bc1c1e36fa3437765d4bd1142 (patch)
treed742fb55d2e7b021a83e660286cff1f29d9fb9bd /irc_user.c
parentf537044f96de6b6553f042e2274252cb834680b3 (diff)
Kick the user instead of parting him/her when cleaning up a channel. This is
what the older version also did so that Irssi won't clean up the window.
Diffstat (limited to 'irc_user.c')
-rw-r--r--irc_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/irc_user.c b/irc_user.c
index fa509a45..cb7ea1e7 100644
--- a/irc_user.c
+++ b/irc_user.c
@@ -204,7 +204,7 @@ void irc_user_quit( irc_user_t *iu, const char *msg )
return;
for( l = iu->irc->channels; l; l = l->next )
- send_quit |= irc_channel_del_user( (irc_channel_t*) l->data, iu, TRUE, NULL );
+ send_quit |= irc_channel_del_user( (irc_channel_t*) l->data, iu, IRC_CDU_SILENT, NULL );
if( send_quit )
irc_send_quit( iu, msg );