diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-11-29 23:31:28 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-11-29 23:31:28 +0100 |
commit | 265a0cf2a1dc625dd412c724262be07e31214b37 (patch) | |
tree | 7a4fcd22fde672c0e1bf5b9a234d30b58ef3f74b /src/core | |
parent | 003bc0451e76720a6740c12720d2302cb4647ade (diff) | |
download | weechat-265a0cf2a1dc625dd412c724262be07e31214b37.zip |
Fix bugs with hook_print function in scripts
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/wee-hook.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/wee-hook.c b/src/core/wee-hook.c index d834cd58f..68f82a823 100644 --- a/src/core/wee-hook.c +++ b/src/core/wee-hook.c @@ -1052,6 +1052,7 @@ hook_print_exec (struct t_gui_buffer *buffer, struct t_gui_line *line) && (!HOOK_PRINT(ptr_hook, buffer) || (buffer == HOOK_PRINT(ptr_hook, buffer))) && (!HOOK_PRINT(ptr_hook, message) + || !HOOK_PRINT(ptr_hook, message)[0] || string_strcasestr (prefix_no_color, HOOK_PRINT(ptr_hook, message)) || string_strcasestr (message_no_color, HOOK_PRINT(ptr_hook, message)))) { |