diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2005-12-14 00:21:21 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2005-12-14 00:21:21 +0100 |
commit | 6aaa2213588f7c4c00a68c5622f6974679eaf196 (patch) | |
tree | 7aad536700d387bacd3003927e9ac3c531616259 /irc.c | |
parent | ab4afbab829a4a5bf520d4e1425a743cdb8c4865 (diff) | |
parent | d3307e281afdbed22a561eb2cd73f97a03e3073d (diff) |
More work on the storage abstraction layer from Jelmer.
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 ) |