From 47fae0ffdda6ea4509ba00b56d15fb25ffe19eea Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sun, 9 May 2010 13:05:50 +0100 Subject: No. Run the part handler from the IRC /PART command, not from irc_channel.c. This was causing troubles with Twitter at disconnect time. --- irc_channel.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'irc_channel.c') diff --git a/irc_channel.c b/irc_channel.c index 2c6601d2..528d0442 100644 --- a/irc_channel.c +++ b/irc_channel.c @@ -127,11 +127,7 @@ 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; } -- cgit v1.2.3