From 8fbce99292fdd0b04feb07d9f70bed8784ec120f Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Mon, 11 Jan 2010 17:57:36 +0100 Subject: Discard line printed with modifier "weechat_print" only if initial string is not empty --- src/gui/gui-chat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/gui-chat.c b/src/gui/gui-chat.c index 6aec77ecc..37d111d38 100644 --- a/src/gui/gui-chat.c +++ b/src/gui/gui-chat.c @@ -498,7 +498,7 @@ gui_chat_printf_date_tags (struct t_gui_buffer *buffer, time_t date, free (modifier_data); if (new_msg) { - if (!new_msg[0]) + if (!new_msg[0] && pos[0]) { /* modifier returned empty message, then we'll not print anything */ -- cgit v1.2.3