Procházet zdrojové kódy

[Rules] Fix the case when there are no received headers

tags/1.9.0
Vsevolod Stakhov před 5 roky
rodič
revize
6296a24a75
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      rules/misc.lua

+ 1
- 1
rules/misc.lua Zobrazit soubor

@@ -198,7 +198,7 @@ local check_rcvd = rspamd_config:register_symbol{
group = 'headers',
callback = function (task)
local rcvds = task:get_received_headers()
if not rcvds then return false end
if not rcvds or #rcvds == 0 then return false end

local all_tls = fun.all(function(rc)
return rc.flags and rc.flags['ssl']

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