commit 5238bba: [Minor] Pet luacheck

Vsevolod Stakhov vsevolod at highsecure.ru
Tue Jun 25 18:14:04 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-06-25 19:08:03 +0100
URL: https://github.com/rspamd/rspamd/commit/5238bbae70922d422a010e4874abe3c13ac26ce6 (HEAD -> master)

[Minor] Pet luacheck

---
 src/plugins/lua/settings.lua | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/plugins/lua/settings.lua b/src/plugins/lua/settings.lua
index 4b129db0f..f00799758 100644
--- a/src/plugins/lua/settings.lua
+++ b/src/plugins/lua/settings.lua
@@ -40,8 +40,6 @@ local N = "settings"
 local settings_initialized = false
 local max_pri = 0
 
-local selectors_cache = {} -- Used to speed up selectors in settings
-
 local function apply_settings(task, to_apply, id)
   task:set_settings(to_apply)
   task:cache_set('settings', to_apply)


More information about the Commits mailing list