diff options
author | Andrew Lewis <nerf@judo.za.org> | 2017-03-24 23:06:39 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2017-03-24 23:06:39 +0200 |
commit | 6565be5ee68f371c613f805c8934073f8ec0f76c (patch) | |
tree | 416a09e06acc1db1bf70b5823ffd9024dbe7ebbe /rules | |
parent | f3bbf3f8f4dd26cceee798a83ac3882b6e0d8337 (diff) | |
download | rspamd-6565be5ee68f371c613f805c8934073f8ec0f76c.tar.gz rspamd-6565be5ee68f371c613f805c8934073f8ec0f76c.zip |
[Minor] Silence warnings
Diffstat (limited to 'rules')
-rw-r--r-- | rules/headers_checks.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |