Fix tag checking in execution of hook_print
This commit is contained in:
parent
c02f32070c
commit
42c230e709
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user