]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Fix typo
authorAndrew Lewis <nerf@judo.za.org>
Sun, 26 Mar 2017 16:17:02 +0000 (18:17 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Sun, 26 Mar 2017 16:17:02 +0000 (18:17 +0200)
rules/headers_checks.lua

index 17a0c738f58ca00b97d6bc7770f0f71cd01aaa4a..a4e202f5e651f36af6c30c269b60fdaf8c19badd 100644 (file)
@@ -213,7 +213,7 @@ local check_replyto_id = rspamd_config:register_callback_symbol('CHECK_REPLYTO',
         if (util.strequal_caseless(from[1].addr, rt[1].addr)) then
           task:insert_result('REPLYTO_ADDR_EQ_FROM', 1.0)
         elseif from[1].domain and rt[1].domain then
-          if (util.streqal_caseless(from[1].domain, rt[1].domain)) then
+          if (util.strequal_caseless(from[1].domain, rt[1].domain)) then
             task:insert_result('REPLYTO_DOM_EQ_FROM_DOM', 1.0)
           else
             task:insert_result('REPLYTO_DOM_NEQ_FROM_DOM', 1.0)