aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 c5972d740..04ef394a2 100644
--- a/src/plugins/lua/antivirus.lua
+++ b/src/plugins/lua/antivirus.lua
@@ -535,7 +535,7 @@ local function savapi_check(task, rule)
elseif string.find(result, '310') then
-- Recursive result
- local vname = nil
+ local vname
local parts = rspamd_str_split(result, ' <<< ')
if parts and parts[2] then
vname = trim(rspamd_str_split(parts[2], ';')[1])