Changeset d5ccd83 for irc.c


Ignore:
Timestamp:
2006-08-13T19:15:23Z (13 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
08cdb93
Parents:
846cec61
Message:

Extra comments in set.h and now properly using set_getbool() instead of
set_getint().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.c

    r846cec61 rd5ccd83  
    213213        log_message( LOGLVL_INFO, "Destroying connection with fd %d", irc->fd );
    214214       
    215         if( irc->status & USTATUS_IDENTIFIED && set_getint( &irc->set, "save_on_quit" ) )
     215        if( irc->status & USTATUS_IDENTIFIED && set_getbool( &irc->set, "save_on_quit" ) )
    216216                if( storage_save( irc, TRUE ) != STORAGE_OK )
    217217                        irc_usermsg( irc, "Error while saving settings!" );
     
    10581058        if( !u || !u->gc ) return;
    10591059       
    1060         if( set_getint( &irc->set, "buddy_sendbuffer" ) && set_getint( &irc->set, "buddy_sendbuffer_delay" ) > 0 )
     1060        if( set_getbool( &irc->set, "buddy_sendbuffer" ) && set_getint( &irc->set, "buddy_sendbuffer_delay" ) > 0 )
    10611061        {
    10621062                int delay;
Note: See TracChangeset for help on using the changeset viewer.