aboutsummaryrefslogtreecommitdiffstats
path: root/irc.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-12-10 15:50:49 +0100
committerJelmer Vernooij <jelmer@samba.org>2005-12-10 15:50:49 +0100
commitab49fdcec9a09df839ec488e570672f2dd904dc7 (patch)
tree66b7415fa12bcc446c8950cdac2fe24ba004054c /irc.c
parent87c24bab5738824aba97a824b4c02f7a96b555a0 (diff)
Use helper functions rather then the backends directly. This will be
used for transparent upgrade support later on.
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..998e7e51 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 ) )
irc_usermsg( irc, "Error while saving settings!" );
if( irc->ping_source_id > 0 )