Procházet zdrojové kódy

[Minor] Register some missing symbols

tags/2.6
Vsevolod Stakhov před 4 roky
rodič
revize
1c748c7439
2 změnil soubory, kde provedl 8 přidání a 1 odebrání
  1. 1
    0
      src/plugins/lua/asn.lua
  2. 7
    1
      src/plugins/lua/greylist.lua

+ 1
- 0
src/plugins/lua/asn.lua Zobrazit soubor

@@ -137,6 +137,7 @@ if configure_asn_module() then
parent = id,
type = 'virtual',
flags = 'empty',
score = 0,
})
end
else

+ 7
- 1
src/plugins/lua/greylist.lua Zobrazit soubor

@@ -497,11 +497,17 @@ if opts then
callback = greylist_set,
priority = 6,
})
rspamd_config:register_symbol({
local id = rspamd_config:register_symbol({
name = 'GREYLIST_CHECK',
type = 'prefilter',
callback = greylist_check,
priority = 6,
})
rspamd_config:register_symbol({
name = settings.symbol,
type = 'virtual',
parent = id,
score = 0,
})
end
end

Načítá se…
Zrušit
Uložit