diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-06-28 01:07:46 +0100 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-06-28 01:07:46 +0100 | 
| commit | 1c40aa73b52e4507404c82056170069a859fb0cb (patch) | |
| tree | 6dd325cd318c645e16c6d01fa8296cd17aaabaa4 /storage_xml.c | |
| parent | 134a02cd563c395d0026d9d1b07eb136394798ca (diff) | |
Mark nameless groupchat channels as temporary so they don't stick around
forever.
Diffstat (limited to 'storage_xml.c')
| -rw-r--r-- | storage_xml.c | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/storage_xml.c b/storage_xml.c index d20469af..f97b2cd5 100644 --- a/storage_xml.c +++ b/storage_xml.c @@ -516,6 +516,9 @@ static storage_status_t xml_save( irc_t *irc, int overwrite )  	{  		irc_channel_t *ic = l->data; +		if( ic->flags & IRC_CHANNEL_TEMP ) +			continue; +		  		if( !xml_printf( fd, 1, "<channel name=\"%s\" type=\"%s\">\n",  		                 ic->name, set_getstr( &ic->set, "type" ) ) )  			goto write_error; | 
