From: Vsevolod Stakhov Date: Tue, 12 Apr 2016 18:21:21 +0000 (+0100) Subject: [Fix] Fix calling of process_regexp after flattening X-Git-Tag: 1.2.4~53 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=edf752e236515f7f1cab622ce2241067b84bdf5f;p=rspamd.git [Fix] Fix calling of process_regexp after flattening --- 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, '[^:]+')