summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/gui-chat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/gui-chat.c b/src/gui/gui-chat.c
index 2cc2c84b2..888b5b141 100644
--- a/src/gui/gui-chat.c
+++ b/src/gui/gui-chat.c
@@ -812,7 +812,10 @@ gui_chat_printf_date_tags_internal (struct t_gui_buffer *buffer,
}
}
+ /* add line in the buffer */
gui_line_add (new_line);
+
+ /* run hook_print for the new line */
if (new_line->data->buffer && buffer->print_hooks_enabled)
hook_print_exec (new_line->data->buffer, new_line);