diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-05-09 13:05:50 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-05-09 13:05:50 +0100 |
commit | 47fae0ffdda6ea4509ba00b56d15fb25ffe19eea (patch) | |
tree | 7012f0b89a90fa939382efd40c2a3da342de1d14 /irc_channel.c | |
parent | e5abfd413a797b268db0b107d0748eb7e40da431 (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.c | 4 |
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; } |