aboutsummaryrefslogtreecommitdiffstats
path: root/irc_channel.c
diff options
context:
space:
mode:
Diffstat (limited to 'irc_channel.c')
-rw-r--r--irc_channel.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/irc_channel.c b/irc_channel.c
index 63c46d95..c8ee7a92 100644
--- a/irc_channel.c
+++ b/irc_channel.c
@@ -122,7 +122,11 @@ int irc_channel_del_user( irc_channel_t *ic, irc_user_t *iu )
irc_send_part( ic, iu, "" );
if( iu == ic->irc->user )
+ {
ic->flags &= ~IRC_CHANNEL_JOINED;
+ if( ic->f->part )
+ ic->f->part( ic, NULL );
+ }
return 1;
}