1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-01 04:14:16 -04: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:
Emanuele Giaquinta 2007-04-07 15:00:25 +00:00 committed by exg
parent 01a2e609ab
commit 3ae155f100

View File

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