diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2010-01-11 17:57:36 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2010-01-11 17:57:36 +0100 |
commit | 8fbce99292fdd0b04feb07d9f70bed8784ec120f (patch) | |
tree | 5cb914e51f2229bf5a84c2512714ae788f93df30 /src | |
parent | 0ad7b2f6bd4f7a30cb9b1ad9d7c1114a02525c10 (diff) | |
download | weechat-8fbce99292fdd0b04feb07d9f70bed8784ec120f.zip |
Discard line printed with modifier "weechat_print" only if initial string is not empty
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/gui-chat.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |