aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_scanners/common.lua
diff options
context:
space:
mode:
authorCarsten Rosenberg <c.rosenberg@heinlein-support.de>2019-01-13 16:05:13 +0100
committerCarsten Rosenberg <c.rosenberg@heinlein-support.de>2019-01-13 16:05:13 +0100
commitd68a5f42a33d8830d268c2cc581469fa0381fa6c (patch)
tree9a9727168693a48583fba1bcbf4d8a0af3ba25fb /lualib/lua_scanners/common.lua
parent92ec1c97019c4a5547c115a90e00b257399a8a47 (diff)
downloadrspamd-d68a5f42a33d8830d268c2cc581469fa0381fa6c.tar.gz
rspamd-d68a5f42a33d8830d268c2cc581469fa0381fa6c.zip
[Fix] lua_scanners - fix luacheck
Diffstat (limited to 'lualib/lua_scanners/common.lua')
-rw-r--r--lualib/lua_scanners/common.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_scanners/common.lua b/lualib/lua_scanners/common.lua
index 1fe82fabb..43400c375 100644
--- a/lualib/lua_scanners/common.lua
+++ b/lualib/lua_scanners/common.lua
@@ -180,7 +180,7 @@ local function save_av_cache(task, digest, rule, to_save, dyn_weight)
return false
end
-local function create_regex_table(task, patterns)
+local function create_regex_table(patterns)
local regex_table = {}
if patterns[1] then
for i, p in ipairs(patterns) do