]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Minor] Fix type in map adding
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 2 Sep 2017 19:02:29 +0000 (20:02 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 2 Sep 2017 19:02:29 +0000 (20:02 +0100)
src/plugins/lua/rspamd_update.lua

index c0a5a4d61855163d600da90bc6f13dd0032192da..fa768a0e76cfa7f5d2d890033f2726015b71a506 100644 (file)
@@ -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