Changeset 6ce2240 for irc.c


Ignore:
Timestamp:
2010-09-30T06:02:01Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
560129a
Parents:
858ea01 (diff), 4752063 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merging some fixes from pesco. Adds support for the SMP flavour used by Pidgin
(otr smpq).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

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