aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/rspamd_update.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2017-09-02 20:02:29 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2017-09-02 20:02:29 +0100
commit7d236456e6bc91fe10eaa597bc1dfe3d141a0ccd (patch)
treeae9a01644e21f1b864afe8d2bc8217fac5a91507 /src/plugins/lua/rspamd_update.lua
parentdc3fd1d5f97aa70c8c0429ea4958792031b4976a (diff)
downloadrspamd-7d236456e6bc91fe10eaa597bc1dfe3d141a0ccd.tar.gz
rspamd-7d236456e6bc91fe10eaa597bc1dfe3d141a0ccd.zip
[Minor] Fix type in map adding
Diffstat (limited to 'src/plugins/lua/rspamd_update.lua')
-rw-r--r--src/plugins/lua/rspamd_update.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/rspamd_update.lua b/src/plugins/lua/rspamd_update.lua
index c0a5a4d61..fa768a0e7 100644
--- a/src/plugins/lua/rspamd_update.lua
+++ b/src/plugins/lua/rspamd_update.lua
@@ -126,7 +126,7 @@ if section then
if k == 'key' then
trusted_key = elt
else
- local map = rspamd_config:add_map(elt, "rspamd updates map", nil)
+ local map = rspamd_config:add_map(elt, "rspamd updates map", nil, "callback")
if not map then
rspamd_logger.errx(rspamd_config, 'cannot load updates from %1', elt)
else