diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2010-04-05 22:41:15 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2010-04-05 22:41:15 +0200 |
commit | fab6ac61eeb0accff70a6bdcfd3c011c9799716c (patch) | |
tree | 305969e1c105b14f0066e58c0cd1be5f521efb27 /src | |
parent | 9399c9f9cb645dc11e4fd44376427ca811bfecdd (diff) | |
download | weechat-fab6ac61eeb0accff70a6bdcfd3c011c9799716c.zip |
Use tag "no_highlight" for backlog lines printed by logger plugin
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/logger/logger.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/plugins/logger/logger.c b/src/plugins/logger/logger.c index edce19ca5..211b42d52 100644 --- a/src/plugins/logger/logger.c +++ b/src/plugins/logger/logger.c @@ -942,13 +942,20 @@ logger_backlog (struct t_gui_buffer *buffer, const char *filename, int lines) if (pos_message) { if (datetime != 0) - weechat_printf_date (buffer, datetime, "%s", pos_message + 1); + { + weechat_printf_date_tags (buffer, datetime, "no_highlight", + "%s", pos_message + 1); + } else - weechat_printf (buffer, "%s", ptr_lines->data); + { + weechat_printf_tags (buffer, "no_highlight", + "%s", ptr_lines->data); + } } else { - weechat_printf (buffer, "%s", ptr_lines->data); + weechat_printf_tags (buffer, "no_highlight", + "%s", ptr_lines->data); } num_lines++; ptr_lines = ptr_lines->next_line; |