diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-08-07 12:42:09 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-08-07 12:42:09 +0100 |
commit | 1e84018e2a508ae6c62baf39c2046699ef5b5a52 (patch) | |
tree | 5d860de785fdc4604c0ba3727f7f5eef6b902550 /src/plugins/lua/antivirus.lua | |
parent | 416ba555dd278fa771ca862e174b578ad4bba958 (diff) | |
download | rspamd-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.lua | 2 |
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 = { |