summaryrefslogtreecommitdiffstats
path: root/src/plugins/fuzzy_check.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-01-09 15:38:51 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2021-01-09 15:38:51 +0000
commitb3a499e675781531b387001e00d3175a51c2e6fa (patch)
treea3a6a4924abe2eec0387fb30d12a842ea5d2a318 /src/plugins/fuzzy_check.c
parent8d7a7668dd68f12a3d9232ee5323805107b70cbb (diff)
downloadrspamd-b3a499e675781531b387001e00d3175a51c2e6fa.tar.gz
rspamd-b3a499e675781531b387001e00d3175a51c2e6fa.zip
[Minor] Fix `cmd` variable use case
Issue: #3603
Diffstat (limited to 'src/plugins/fuzzy_check.c')
-rw-r--r--src/plugins/fuzzy_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c
index ff9066aee..2b4a09880 100644
--- a/src/plugins/fuzzy_check.c
+++ b/src/plugins/fuzzy_check.c
@@ -3968,7 +3968,7 @@ fuzzy_lua_gen_hashes_handler (lua_State *L)
continue;
}
- commands = fuzzy_generate_commands (task, rule, FUZZY_WRITE, flag,
+ commands = fuzzy_generate_commands (task, rule, cmd, flag,
weight, send_flags);
if (commands != NULL) {