From 6565be5ee68f371c613f805c8934073f8ec0f76c Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Fri, 24 Mar 2017 23:06:39 +0200 Subject: [Minor] Silence warnings --- rules/headers_checks.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rules') diff --git a/rules/headers_checks.lua b/rules/headers_checks.lua index 7e345b95a..17a0c738f 100644 --- a/rules/headers_checks.lua +++ b/rules/headers_checks.lua @@ -599,7 +599,7 @@ local check_from_id = rspamd_config:register_symbol{ if (util.strequal_caseless(to[1].addr, from[1].addr)) then task:insert_result('TO_EQ_FROM', 1.0) elseif (to[1].domain and from[1].domain and - util.strequal_caseless(to[1].domain, from[1].domain)) + util.strequal_caseless(to[1].domain, from[1].domain)) then task:insert_result('TO_DOM_EQ_FROM_DOM', 1.0) end -- cgit v1.2.3