commit b3a499e: [Minor] Fix `cmd` variable use case

Vsevolod Stakhov vsevolod at highsecure.ru
Sat Jan 9 15:42:06 UTC 2021


Author: Vsevolod Stakhov
Date: 2021-01-09 15:38:51 +0000
URL: https://github.com/rspamd/rspamd/commit/b3a499e675781531b387001e00d3175a51c2e6fa (HEAD -> master)

[Minor] Fix `cmd` variable use case
Issue: #3603

---
 src/plugins/fuzzy_check.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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) {


More information about the Commits mailing list