aboutsummaryrefslogtreecommitdiffstats
path: root/irc.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-12-08 15:14:28 +0100
committerJelmer Vernooij <jelmer@samba.org>2005-12-08 15:14:28 +0100
commita1f17d45fae99428c8024168b55b4279c59ac867 (patch)
treef30a2c00e52ec03da9ac8154baee1da3ad8fd090 /irc.c
parent1ee6c18cfb5eb03f33a5938b37e357dd3fd2c164 (diff)
Simplify storage API a bit
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 9ccfdb33..255b231c 100644
--- a/irc.c
+++ b/irc.c
@@ -153,7 +153,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 ) )
+ if( !global.storage->save( irc, TRUE ) )
irc_usermsg( irc, "Error while saving settings!" );
if( irc->ping_source_id > 0 )