mirror of
https://github.com/weechat/weechat.git
synced 2026-06-27 21:36:37 +02:00
api: run hook_print callback also on empty messages
This commit is contained in:
@@ -126,7 +126,7 @@ hook_print_exec (struct t_gui_buffer *buffer, struct t_gui_line *line)
|
||||
if (!weechat_hooks[HOOK_TYPE_PRINT])
|
||||
return;
|
||||
|
||||
if (!line->data->message || !line->data->message[0])
|
||||
if (!line->data->message)
|
||||
return;
|
||||
|
||||
prefix_no_color = (line->data->prefix) ?
|
||||
|
||||
Reference in New Issue
Block a user