summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/gui-chat.c2
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 */