aboutsummaryrefslogtreecommitdiffstats
path: root/irc_im.c
diff options
context:
space:
mode:
Diffstat (limited to 'irc_im.c')
-rw-r--r--irc_im.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/irc_im.c b/irc_im.c
index c9f0efbc..0fa15a12 100644
--- a/irc_im.c
+++ b/irc_im.c
@@ -910,10 +910,8 @@ static gboolean bee_irc_channel_chat_part( irc_channel_t *ic, const char *msg )
if( c && c->ic->acc->prpl->chat_leave )
c->ic->acc->prpl->chat_leave( c );
- /* Remove references in both directions now. We don't need each other anymore. */
+ /* Remove the reference. We don't need it anymore. */
ic->data = NULL;
- if( c )
- c->ui_data = NULL;
return TRUE;
}