From: Vsevolod Stakhov Date: Sat, 9 Jan 2021 15:38:51 +0000 (+0000) Subject: [Minor] Fix `cmd` variable use case X-Git-Tag: 3.0~779 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b3a499e675781531b387001e00d3175a51c2e6fa;p=thirdparty%2Frspamd.git [Minor] Fix `cmd` variable use case Issue: #3603 --- diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index ff9066aee3..2b4a098802 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) {