From fab6ac61eeb0accff70a6bdcfd3c011c9799716c Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Mon, 5 Apr 2010 22:41:15 +0200 Subject: Use tag "no_highlight" for backlog lines printed by logger plugin --- src/plugins/logger/logger.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'src') 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; -- cgit v1.2.3