aboutsummaryrefslogtreecommitdiffstats
path: root/irc.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-12-14 00:07:05 +0100
committerJelmer Vernooij <jelmer@samba.org>2005-12-14 00:07:05 +0100
commitd3307e281afdbed22a561eb2cd73f97a03e3073d (patch)
treeb5e10b15e55ec9453bf902431a3b9dc24310378c /irc.c
parent34759e68501ccf2a885f650df9d35ba3fc84658d (diff)
parentb73ac9c35fb53203b8d0668251dfb66096883863 (diff)
Merge my storage fixes
Diffstat (limited to 'irc.c')
-rw-r--r--irc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/irc.c b/irc.c
index 5601e314..d976410e 100644
--- a/irc.c
+++ b/irc.c
@@ -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 )