aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/lua
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2018-01-24 13:52:10 +0200
committerAndrew Lewis <nerf@judo.za.org>2018-01-24 13:52:10 +0200
commit54b527ee1e2d43dd586d53bea32ec1de91af773b (patch)
tree021ed7bc1958b25ff803ebfff6b8de2f8d86b6d6 /src/plugins/lua
parente21d0ba5d3d01655645fb72687c62f2d27d756b5 (diff)
downloadrspamd-54b527ee1e2d43dd586d53bea32ec1de91af773b.tar.gz
rspamd-54b527ee1e2d43dd586d53bea32ec1de91af773b.zip
[Minor] Fix previous commit
Diffstat (limited to 'src/plugins/lua')
-rw-r--r--src/plugins/lua/antivirus.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/lua/antivirus.lua b/src/plugins/lua/antivirus.lua
index 0a16ff145..59ec3ad0d 100644
--- a/src/plugins/lua/antivirus.lua
+++ b/src/plugins/lua/antivirus.lua
@@ -410,7 +410,7 @@ local function fprot_check(task, rule)
rspamd_logger.infox(task, '%s [%s]: message is clean', rule['symbol'], rule['type'])
end
else
- local vname = string.match(data, '^1 <infected: (.+?)>')
+ local vname = string.match(data, '^1 <infected: (.-)>')
if not vname then
rspamd_logger.errx(task, 'Unhandled response: %s', data)
else