mirror of
https://github.com/weechat/weechat.git
synced 2026-06-12 14:14:48 +02:00
Discard line printed with modifier "weechat_print" only if initial string is not empty
This commit is contained in:
+1
-1
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user