diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-11-21 16:14:03 +0000 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-11-21 16:14:03 +0000 |
commit | 5df65bd866aad7dd7d7b62d7a7ef168a26b002e5 (patch) | |
tree | 55d5aa36a7d490c865e9ece46f5e37f5633d2505 /storage_xml.c | |
parent | 495d21b4d09392a84ff4c6fd914a0923029d2462 (diff) |
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.
Diffstat (limited to 'storage_xml.c')
-rw-r--r-- | storage_xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, "<setting name=\"%s\">%s</setting>\n", set->key, set->value ) ) goto write_error; |