]> source.dussan.org Git - rspamd.git/commitdiff
[Fix] lua_scanners - savapi redis prefix
authorCarsten Rosenberg <c.rosenberg@heinlein-support.de>
Sun, 13 Jan 2019 00:15:30 +0000 (01:15 +0100)
committerCarsten Rosenberg <c.rosenberg@heinlein-support.de>
Sun, 13 Jan 2019 00:15:30 +0000 (01:15 +0100)
lualib/lua_scanners/savapi.lua

index 481f2daab8629c34424eec5c87aacaf81e7217fa..29161a0e7eb7677ec6dc40f7cff089de5c80ded8 100644 (file)
@@ -53,10 +53,6 @@ local function savapi_config(opts)
     savapi_conf.prefix = 'rs_' .. savapi_conf.name .. '_'
   end
 
-  if not savapi_conf.prefix then
-    savapi_conf.prefix = 'rs_ap'
-  end
-
   if not savapi_conf.log_prefix then
     if savapi_conf.name:lower() == savapi_conf.type:lower() then
       savapi_conf.log_prefix = savapi_conf.name