diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-12-14 00:07:05 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2005-12-14 00:07:05 +0100 |
commit | d3307e281afdbed22a561eb2cd73f97a03e3073d (patch) | |
tree | b5e10b15e55ec9453bf902431a3b9dc24310378c /irc.c | |
parent | 34759e68501ccf2a885f650df9d35ba3fc84658d (diff) | |
parent | b73ac9c35fb53203b8d0668251dfb66096883863 (diff) |
Merge my storage fixes
Diffstat (limited to 'irc.c')
-rw-r--r-- | irc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -160,7 +160,7 @@ void irc_free(irc_t * irc) log_message( LOGLVL_INFO, "Destroying connection with fd %d", irc->fd ); if( irc->status >= USTATUS_IDENTIFIED && set_getint( irc, "save_on_quit" ) ) - if( !global.storage->save( irc, TRUE ) ) + if( storage_save( irc, TRUE ) != STORAGE_OK ) irc_usermsg( irc, "Error while saving settings!" ); if( irc->ping_source_id > 0 ) |