From a890edfd41e80a1600f3f41ff0db4be35ea3f897 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 15 Nov 2000 23:34:32 +0000 Subject: Don't close non-autologs when leaving channel / closing query. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@839 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/core/fe-log.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/fe-common/core/fe-log.c') diff --git a/src/fe-common/core/fe-log.c b/src/fe-common/core/fe-log.c index 426a7e47..06841a6b 100644 --- a/src/fe-common/core/fe-log.c +++ b/src/fe-common/core/fe-log.c @@ -511,7 +511,8 @@ static void sig_window_item_remove(WINDOW_REC *window, WI_ITEM_REC *item) LOG_REC *log; log = logs_find_item(LOG_ITEM_TARGET, item->name, item->server, NULL); - if (log != NULL) log_close(log); + if (log != NULL && log->temp) + log_close(log); } static void sig_log_locked(LOG_REC *log) -- cgit v1.2.3