summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-07-21 22:55:20 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-07-21 22:55:20 +0000
commit8454f255616f0285c6d43766963477b13e82fa7f (patch)
treed205fcab5cfec2e858320a59c132b4481c0cf159 /src
parent4ba9a1356b7e1df3abcbbad4a9e38e789e177005 (diff)
downloadirssi-8454f255616f0285c6d43766963477b13e82fa7f.zip
Don't save autologs.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@501 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/core/log.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/log.c b/src/core/log.c
index 8e7a8411..0069d329 100644
--- a/src/core/log.c
+++ b/src/core/log.c
@@ -256,6 +256,9 @@ static void log_set_config(LOG_REC *log)
CONFIG_NODE *node;
char *levelstr;
+ if (log->temp)
+ return;
+
node = iconfig_node_traverse("logs", TRUE);
node = config_node_section(node, log->fname, NODE_TYPE_BLOCK);