aboutsummaryrefslogtreecommitdiffstats
path: root/storage_xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage_xml.c')
-rw-r--r--storage_xml.c3
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;