]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] Fix calling of process_regexp after flattening
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 12 Apr 2016 18:21:21 +0000 (19:21 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Tue, 12 Apr 2016 18:21:21 +0000 (19:21 +0100)
src/plugins/lua/spamassassin.lua

index c8b265d103cc7f02479f5290365b0f7fd2d98ab4..e025714ceb8a8549180ae131e082992cb7fb2368 100644 (file)
@@ -176,7 +176,7 @@ local function handle_header_def(hline, cur_rule)
           return 0
         end
 
-        return task:process_regexp(r['re'], 'allheader')
+        return task:process_regexp(re, 'allheader')
       end
     else
       local args = split(h, '[^:]+')