aboutsummaryrefslogtreecommitdiffstats
path: root/lualib/lua_scanners/sophos.lua
diff options
context:
space:
mode:
authorCarsten Rosenberg <c.rosenberg@heinlein-support.de>2019-01-13 01:10:11 +0100
committerCarsten Rosenberg <c.rosenberg@heinlein-support.de>2019-01-13 01:10:11 +0100
commitb2bd2eefe7514656fcdc193367ddd96ee4f979b3 (patch)
tree5aaf701a940ac2477443c95ab147d70e63576a0f /lualib/lua_scanners/sophos.lua
parent7848a14b949a7e54423998a9db2c45fc2d337f04 (diff)
downloadrspamd-b2bd2eefe7514656fcdc193367ddd96ee4f979b3.tar.gz
rspamd-b2bd2eefe7514656fcdc193367ddd96ee4f979b3.zip
[Minor] lua_scanner - redis prefix (support for multiple rules of the same type)
Diffstat (limited to 'lualib/lua_scanners/sophos.lua')
-rw-r--r--lualib/lua_scanners/sophos.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_scanners/sophos.lua b/lualib/lua_scanners/sophos.lua
index 655cbc696..712f016be 100644
--- a/lualib/lua_scanners/sophos.lua
+++ b/lualib/lua_scanners/sophos.lua
@@ -51,7 +51,7 @@ local function sophos_config(opts)
end
if not sophos_conf.prefix then
- sophos_conf.prefix = 'rs_sp'
+ sophos_conf.prefix = 'rs_' .. sophos_conf.name .. '_'
end
if not sophos_conf.log_prefix then