aboutsummaryrefslogtreecommitdiffstats
path: root/irc_im.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2015-01-17 20:13:19 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2015-01-17 20:13:19 +0000
commiteb4ad8d31f7ed4210f24beb8753ecce594b0beef (patch)
treef7f9cf04738522a79f874e0e8ce9b915014861fc /irc_im.c
parent1065dd4f38c81c83934ba51526471072837700ae (diff)
parent664bac38fcdf6889d3ceb29b73a0c3a4e27820ce (diff)
Merging random other fixes/cleanups.
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;
}