summaryrefslogtreecommitdiffstats
path: root/src/lua/lua_task.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/lua_task.c')
-rw-r--r--src/lua/lua_task.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lua/lua_task.c b/src/lua/lua_task.c
index 5bb61644d..7e14b05de 100644
--- a/src/lua/lua_task.c
+++ b/src/lua/lua_task.c
@@ -6382,7 +6382,7 @@ lua_lookup_words_array (lua_State *L,
case RSPAMD_LUA_MAP_SET:
case RSPAMD_LUA_MAP_HASH:
/* We know that tok->normalized is zero terminated in fact */
- if (rspamd_match_hash_map (map->data.hash, key)) {
+ if (rspamd_match_hash_map (map->data.hash, key, keylen)) {
matched = TRUE;
}
break;