diff options
author | Timo Sirainen <cras@irssi.org> | 2000-11-15 23:34:32 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-11-15 23:34:32 +0000 |
commit | a890edfd41e80a1600f3f41ff0db4be35ea3f897 (patch) | |
tree | 9ec2fa9734ea30549953c43d2082a2f5e7eefcfa /src/fe-common/core/fe-log.c | |
parent | 0b125e8476adf0b604360bb1291bd9a817807365 (diff) | |
download | irssi-a890edfd41e80a1600f3f41ff0db4be35ea3f897.zip |
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
Diffstat (limited to 'src/fe-common/core/fe-log.c')
-rw-r--r-- | src/fe-common/core/fe-log.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) |