aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/antivirus.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-08-07 12:42:09 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-08-07 12:42:09 +0100
commit1e84018e2a508ae6c62baf39c2046699ef5b5a52 (patch)
tree5d860de785fdc4604c0ba3727f7f5eef6b902550 /src/plugins/lua/antivirus.lua
parent416ba555dd278fa771ca862e174b578ad4bba958 (diff)
downloadrspamd-1e84018e2a508ae6c62baf39c2046699ef5b5a52.tar.gz
rspamd-1e84018e2a508ae6c62baf39c2046699ef5b5a52.zip
[Minor] Move config stuff out
Diffstat (limited to 'src/plugins/lua/antivirus.lua')
-rw-r--r--src/plugins/lua/antivirus.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/antivirus.lua b/src/plugins/lua/antivirus.lua
index 44fe10e98..e39ddc5ba 100644
--- a/src/plugins/lua/antivirus.lua
+++ b/src/plugins/lua/antivirus.lua
@@ -204,7 +204,7 @@ if opts and type(opts) == 'table' then
if not cb then
rspamd_logger.errx(rspamd_config, 'cannot add rule: "' .. k .. '"')
- lua_util.push_config_error(N, 'cannot add AV rule: "' .. k .. '"')
+ lua_util.config_utils.push_config_error(N, 'cannot add AV rule: "' .. k .. '"')
else
rspamd_logger.infox(rspamd_config, 'added antivirus engine %s -> %s', k, m.symbol)
local t = {