diff options
Diffstat (limited to 'src/lua/lua_html.cxx')
-rw-r--r-- | src/lua/lua_html.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_html.cxx b/src/lua/lua_html.cxx index 058ef401f..7e17f835f 100644 --- a/src/lua/lua_html.cxx +++ b/src/lua/lua_html.cxx @@ -431,7 +431,7 @@ lua_html_foreach_tag (lua_State *L) } if (hc && (any || !tags.empty()) && lua_isfunction (L, 3)) { - hc->traverse_tags([&](const rspamd::html::html_tag *tag) -> bool { + hc->traverse_all_tags([&](const rspamd::html::html_tag *tag) -> bool { if (tag && (any || tags.contains(tag->id))) { lua_pushvalue(L, 3); |