summaryrefslogtreecommitdiff
path: root/src/core/wee-hook.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2010-01-01 21:44:09 +0100
committerSebastien Helleu <flashcode@flashtux.org>2010-01-01 21:44:09 +0100
commit42c230e709a1af70d49229fe5211f4480e950c1b (patch)
treeb2b05b181e5d6ab5169ff77b7dbdddf586270a2d /src/core/wee-hook.c
parentc02f32070cf3cf01acb82db6a833d89c66d36056 (diff)
downloadweechat-42c230e709a1af70d49229fe5211f4480e950c1b.zip
Fix tag checking in execution of hook_print
Diffstat (limited to 'src/core/wee-hook.c')
-rw-r--r--src/core/wee-hook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/wee-hook.c b/src/core/wee-hook.c
index 31813426b..5b2a399cc 100644
--- a/src/core/wee-hook.c
+++ b/src/core/wee-hook.c
@@ -1626,7 +1626,7 @@ hook_print_exec (struct t_gui_buffer *buffer, struct t_gui_line *line)
for (j = 0; j < line->data->tags_count; j++)
{
if (string_strcasecmp (HOOK_PRINT(ptr_hook, tags_array)[i],
- line->data->tags_array[j]) != 0)
+ line->data->tags_array[j]) == 0)
{
tag_found = 1;
break;