aboutsummaryrefslogtreecommitdiffstats
path: root/irc_channel.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-05-09 13:05:50 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-05-09 13:05:50 +0100
commit47fae0ffdda6ea4509ba00b56d15fb25ffe19eea (patch)
tree7012f0b89a90fa939382efd40c2a3da342de1d14 /irc_channel.c
parente5abfd413a797b268db0b107d0748eb7e40da431 (diff)
No. Run the part handler from the IRC /PART command, not from irc_channel.c.
This was causing troubles with Twitter at disconnect time.
Diffstat (limited to 'irc_channel.c')
-rw-r--r--irc_channel.c4
1 files changed, 0 insertions, 4 deletions
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;
}