From: Kevin Shah <161136814+kevinzb56@users.noreply.github.com> Date: Thu, 5 Jun 2025 18:51:01 +0000 (+0530) Subject: Correcting the index number for is_spam X-Git-Tag: 3.12.0~8^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F5495%2Fhead;p=thirdparty%2Frspamd.git Correcting the index number for is_spam --- 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]