Discard line printed with modifier "weechat_print" only if initial string is not empty

This commit is contained in:
Sebastien Helleu 2010-01-11 17:57:36 +01:00
parent 0ad7b2f6bd
commit 8fbce99292

View File

@ -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 */