commit c61011e: [Minor] Rbl: Fix symbol type

Vsevolod Stakhov vsevolod at highsecure.ru
Thu Aug 22 11:21:04 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-08-22 12:14:21 +0100
URL: https://github.com/rspamd/rspamd/commit/c61011e62da10e41d8ee1fe9c779dc1e0a1cf2d0 (HEAD -> master)

[Minor] Rbl: Fix symbol type

---
 src/plugins/lua/rbl.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/lua/rbl.lua b/src/plugins/lua/rbl.lua
index efc1a1319..e260b02e4 100644
--- a/src/plugins/lua/rbl.lua
+++ b/src/plugins/lua/rbl.lua
@@ -541,7 +541,7 @@ local function add_rbl(key, rbl)
   end
 
   local id = rspamd_config:register_symbol{
-    type = 'normal',
+    type = 'callback',
     callback = gen_rbl_callback(rbl),
     name = rbl.symbol,
     flags = table.concat(flags_tbl, ',')


More information about the Commits mailing list