aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/phishing.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/phishing.lua
parenta5eef8b08ca4ea69cc3c5bb718102fe24f20a61b (diff)
downloadrspamd-03e3d7063308dd169d5b1692ccd28403c16ddd76.tar.gz
rspamd-03e3d7063308dd169d5b1692ccd28403c16ddd76.zip
[Minor] Small polishes for Lua parts
Diffstat (limited to 'src/plugins/lua/phishing.lua')
-rw-r--r--src/plugins/lua/phishing.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/phishing.lua b/src/plugins/lua/phishing.lua
index 015e079dd..1383fcd05 100644
--- a/src/plugins/lua/phishing.lua
+++ b/src/plugins/lua/phishing.lua
@@ -177,7 +177,7 @@ local function phishing_map(mapname, phishmap, id)
xd[1] = opts[mapname]
end
for _,d in ipairs(xd) do
- local s, _ = string.find(d, ':[^:]+$')
+ local s = string.find(d, ':[^:]+$')
if s then
local sym = string.sub(d, s + 1, -1)
local map = string.sub(d, 1, s - 1)