Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    r51e9a1d r0c85c08  
    222222        log_message( LOGLVL_INFO, "Destroying connection with fd %d", irc->fd );
    223223       
     224        for( l = irc_plugins; l; l = l->next )
     225        {
     226                irc_plugin_t *p = l->data;
     227                if( p->irc_free )
     228                        p->irc_free( irc );
     229        }
     230       
    224231        if( irc->status & USTATUS_IDENTIFIED && set_getbool( &irc->b->set, "save_on_quit" ) )
    225232                if( storage_save( irc, NULL, TRUE ) != STORAGE_OK )
    226233                        log_message( LOGLVL_WARNING, "Error while saving settings for user %s", irc->user->nick );
    227        
    228         for( l = irc_plugins; l; l = l->next )
    229         {
    230                 irc_plugin_t *p = l->data;
    231                 if( p->irc_free )
    232                         p->irc_free( irc );
    233         }
    234234       
    235235        irc_connection_list = g_slist_remove( irc_connection_list, irc );
Note: See TracChangeset for help on using the changeset viewer.