diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-12-14 00:05:27 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2005-12-14 00:05:27 +0100 |
commit | b73ac9c35fb53203b8d0668251dfb66096883863 (patch) | |
tree | b5e10b15e55ec9453bf902431a3b9dc24310378c /irc.c | |
parent | a301379c2035d9d0dd86926c4bdeebf95db18fac (diff) |
Add support for 'primary' and 'migrate' account storages.
Fix two bugs in the text storage backend that were introduced by my previous
changes.
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( !storage_save( irc, TRUE ) ) + if( storage_save( irc, TRUE ) != STORAGE_OK ) irc_usermsg( irc, "Error while saving settings!" ); if( irc->ping_source_id > 0 ) |