diff options
Diffstat (limited to 'irc_im.c')
-rw-r--r-- | irc_im.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -907,7 +907,8 @@ static gboolean bee_irc_channel_chat_part( irc_channel_t *ic, const char *msg ) /* Remove references in both directions now. We don't need each other anymore. */ ic->data = NULL; - c->ui_data = NULL; + if( c ) + c->ui_data = NULL; return TRUE; } |