]> source.dussan.org Git - rspamd.git/commitdiff
Update src/plugins/lua/gpt.lua
authorVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 28 Jun 2024 14:03:30 +0000 (15:03 +0100)
committerGitHub <noreply@github.com>
Fri, 28 Jun 2024 14:03:30 +0000 (15:03 +0100)
Co-authored-by: Andrew Lewis <nerf@judo.za.org>
src/plugins/lua/gpt.lua

index dee83416dad414952d828ee2a670a9acdfeabc1b..3e3a6737dafe9a32799faa97daabf29685d4ceee 100644 (file)
@@ -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