Explorar el Código

Fix error in headers_checks.lua

pull/4934/head
Dmitriy Alekseev hace 4 semanas
padre
commit
db03a55444
No account linked to committer's email address
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      rules/headers_checks.lua

+ 1
- 1
rules/headers_checks.lua Ver fichero

@@ -254,7 +254,7 @@ local check_replyto_id = rspamd_config:register_symbol({
then
task:insert_result('REPLYTO_EQ_TO_ADDR', 1.0)
end
elseif to[1].domain and rt[1].domain then
elseif (to and to[1] and to[1].domain and rt[1].domain) then
if (util.strequal_caseless(to[1].domain, rt[1].domain)) then
task:insert_result('REPLYTO_DOM_EQ_TO_DOM', 1.0)
else

Cargando…
Cancelar
Guardar