commit 943c3f2: Update src/plugins/lua/gpt.lua

GitHub noreply at github.com
Mon Jul 29 17:58:39 UTC 2024


Author: Vsevolod Stakhov
Date: 2024-06-28 15:03:30 +0100
URL: https://github.com/rspamd/rspamd/commit/943c3f2d2aef8329e6882f2bd66e6c30669730b8

Update src/plugins/lua/gpt.lua
Co-authored-by: Andrew Lewis <nerf at judo.za.org>
---
 src/plugins/lua/gpt.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/lua/gpt.lua b/src/plugins/lua/gpt.lua
index dee83416d..3e3a6737d 100644
--- a/src/plugins/lua/gpt.lua
+++ b/src/plugins/lua/gpt.lua
@@ -189,7 +189,7 @@ local function openai_gpt_check(task)
   local ret, content = settings.condition(task)
 
   if not ret then
-    lua_util.info(N, task, "skip checking gpt as the condition is not met: %s", content)
+    rspamd_logger.info(task, "skip checking gpt as the condition is not met: %s", content)
     return
   end
 


More information about the Commits mailing list