]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix `cmd` variable use case
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 9 Jan 2021 15:38:51 +0000 (15:38 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 9 Jan 2021 15:38:51 +0000 (15:38 +0000)
Issue: #3603

src/plugins/fuzzy_check.c

index ff9066aee35ec81586f0a38a46ee821437d62068..2b4a098802fefad11756ca45a858218c0759d406 100644 (file)
@@ -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) {