From 5df65bd866aad7dd7d7b62d7a7ef168a26b002e5 Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sun, 21 Nov 2010 16:14:03 +0000 Subject: Don't save the global "away" settings, leave that to the IRC /AWAY info coming from the IRC client. Also, hide it from the settings list, it doesn't belong there. --- storage_xml.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'storage_xml.c') diff --git a/storage_xml.c b/storage_xml.c index 5035e214..042dcaae 100644 --- a/storage_xml.c +++ b/storage_xml.c @@ -493,7 +493,7 @@ static storage_status_t xml_save( irc_t *irc, int overwrite ) g_free( pass_buf ); for( set = irc->b->set; set; set = set->next ) - if( set->value ) + if( set->value && !( set->flags & SET_NOSAVE ) ) if( !xml_printf( fd, 1, "%s\n", set->key, set->value ) ) goto write_error; -- cgit v1.2.3