diff options
author | Carsten Rosenberg <c.rosenberg@heinlein-support.de> | 2019-01-13 01:10:11 +0100 |
---|---|---|
committer | Carsten Rosenberg <c.rosenberg@heinlein-support.de> | 2019-01-13 01:10:11 +0100 |
commit | b2bd2eefe7514656fcdc193367ddd96ee4f979b3 (patch) | |
tree | 5aaf701a940ac2477443c95ab147d70e63576a0f /lualib/lua_scanners/savapi.lua | |
parent | 7848a14b949a7e54423998a9db2c45fc2d337f04 (diff) | |
download | rspamd-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/savapi.lua')
-rw-r--r-- | lualib/lua_scanners/savapi.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lualib/lua_scanners/savapi.lua b/lualib/lua_scanners/savapi.lua index d8ae8957b..dfe67d28c 100644 --- a/lualib/lua_scanners/savapi.lua +++ b/lualib/lua_scanners/savapi.lua @@ -52,6 +52,10 @@ local function savapi_config(opts) end if not savapi_conf.prefix then + savapi_conf.prefix = 'rs_' .. savapi_conf.name .. '_' + end + + if not savapi_conf.prefix then savapi_conf.prefix = 'rs_ap' end |