aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/spamassassin.lua
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-12 19:21:21 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-12 19:21:21 +0100
commitedf752e236515f7f1cab622ce2241067b84bdf5f (patch)
treeb6ae056951315e02dfd5e07de204a5149f3b9957 /src/plugins/lua/spamassassin.lua
parentb51f82fd6d50df6d1ba22adf685fa6aa2b3a34ab (diff)
downloadrspamd-edf752e236515f7f1cab622ce2241067b84bdf5f.tar.gz
rspamd-edf752e236515f7f1cab622ce2241067b84bdf5f.zip
[Fix] Fix calling of process_regexp after flattening
Diffstat (limited to 'src/plugins/lua/spamassassin.lua')
-rw-r--r--src/plugins/lua/spamassassin.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/spamassassin.lua b/src/plugins/lua/spamassassin.lua
index c8b265d10..e025714ce 100644
--- a/src/plugins/lua/spamassassin.lua
+++ b/src/plugins/lua/spamassassin.lua
@@ -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, '[^:]+')