summaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/spamassassin.lua
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-11-16 10:17:42 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-11-16 10:17:42 +0200
commit03e3d7063308dd169d5b1692ccd28403c16ddd76 (patch)
tree7eca2b3fbfd8538fd13401fabb242e9570a0924b /src/plugins/lua/spamassassin.lua
parenta5eef8b08ca4ea69cc3c5bb718102fe24f20a61b (diff)
downloadrspamd-03e3d7063308dd169d5b1692ccd28403c16ddd76.tar.gz
rspamd-03e3d7063308dd169d5b1692ccd28403c16ddd76.zip
[Minor] Small polishes for Lua parts
Diffstat (limited to 'src/plugins/lua/spamassassin.lua')
-rw-r--r--src/plugins/lua/spamassassin.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/lua/spamassassin.lua b/src/plugins/lua/spamassassin.lua
index 07a80bb90..f6bb37fdf 100644
--- a/src/plugins/lua/spamassassin.lua
+++ b/src/plugins/lua/spamassassin.lua
@@ -1097,10 +1097,10 @@ local function apply_replacements(str)
end
local function replace_all_tags(s)
- local sstr, _
+ local sstr
sstr = s
fun.each(function(n, t)
- sstr,_ = string.gsub(sstr, string.format("<%s>", n),
+ sstr = string.gsub(sstr, string.format("<%s>", n),
string.format("%s%s%s", pre, t, post))
end, replace['tags'])