diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2007-04-07 15:00:25 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2007-04-07 15:00:25 +0000 |
commit | 3ae155f100df2b979f40e9b0c19c9dbf9530ac9f (patch) | |
tree | 78fd8926c871b9561cb49f1398ae2cd3ef979279 /src/fe-common | |
parent | 01a2e609aba07ad7d54b0e5dd397458ad1b1b94c (diff) | |
download | irssi-3ae155f100df2b979f40e9b0c19c9dbf9530ac9f.zip |
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
Diffstat (limited to 'src/fe-common')
-rw-r--r-- | src/fe-common/core/fe-log.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fe-common/core/fe-log.c b/src/fe-common/core/fe-log.c index 5b2a7780..1f9dce2b 100644 --- a/src/fe-common/core/fe-log.c +++ b/src/fe-common/core/fe-log.c @@ -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; |