mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 03:40:16 +02: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:
parent
0b125e8476
commit
a890edfd41
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue