diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-09-02 20:02:29 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-09-02 20:02:29 +0100 |
commit | 7d236456e6bc91fe10eaa597bc1dfe3d141a0ccd (patch) | |
tree | ae9a01644e21f1b864afe8d2bc8217fac5a91507 /src/plugins/lua/rspamd_update.lua | |
parent | dc3fd1d5f97aa70c8c0429ea4958792031b4976a (diff) | |
download | rspamd-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.lua | 2 |
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 |