1
0
mirror of https://github.com/irssi/irssi.git synced 2024-11-03 04:27:19 -05:00

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
This commit is contained in:
Timo Sirainen 2000-11-15 23:34:32 +00:00 committed by cras
parent 0b125e8476
commit a890edfd41

View File

@ -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)