From 67e31916a7e59e77ff7c5bc50e90944a65652868 Mon Sep 17 00:00:00 2001 From: Kevin Shah <161136814+kevinzb56@users.noreply.github.com> Date: Fri, 6 Jun 2025 00:21:01 +0530 Subject: [PATCH] Correcting the index number for is_spam --- lualib/redis_scripts/bayes_cache_learn.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lualib/redis_scripts/bayes_cache_learn.lua b/lualib/redis_scripts/bayes_cache_learn.lua index d8a2d878eb..7d44a73efc 100644 --- a/lualib/redis_scripts/bayes_cache_learn.lua +++ b/lualib/redis_scripts/bayes_cache_learn.lua @@ -1,7 +1,7 @@ -- Lua script to perform cache checking for bayes classification -- This script accepts the following parameters: -- key1 - cache id --- key3 - is spam (1 or 0) +-- key2 - is spam (1 or 0) -- key3 - configuration table in message pack local cache_id = KEYS[1] -- 2.47.3