mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Only consider autolog logs when looking for an open log in autolog_open.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4441 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
01a2e609ab
commit
3ae155f100
@ -252,6 +252,7 @@ static LOG_REC *logs_find_item(int type, const char *item,
|
||||
for (tmp = logs; tmp != NULL; tmp = tmp->next) {
|
||||
LOG_REC *log = tmp->data;
|
||||
|
||||
if (type == LOG_ITEM_TARGET && log->temp == 0) continue;
|
||||
logitem = log_item_find(log, type, item, servertag);
|
||||
if (logitem != NULL) {
|
||||
if (ret_item != NULL) *ret_item = logitem;
|
||||
|
Loading…
Reference in New Issue
Block a user