diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-07-01 12:52:39 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2020-07-01 12:52:39 +0100 |
commit | 8f8d62fc0dd10f50a340386f324b31b20f84796b (patch) | |
tree | 92c9666638176f19b91d3f20e85daf8ca2dc19d5 /rules | |
parent | d8a7818f0eff3dbfe9cf25eb68df91d74ca4cb4a (diff) | |
download | rspamd-8f8d62fc0dd10f50a340386f324b31b20f84796b.tar.gz rspamd-8f8d62fc0dd10f50a340386f324b31b20f84796b.zip |
[Minor] Pet luacheck
Diffstat (limited to 'rules')
-rw-r--r-- | rules/controller/maps.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rules/controller/maps.lua b/rules/controller/maps.lua index be93e0a6d..f21b34c24 100644 --- a/rules/controller/maps.lua +++ b/rules/controller/maps.lua @@ -38,14 +38,15 @@ local function maybe_fill_maps_cache() -- Do not override, as we don't care about duplicate maps that come from different -- sources. -- In theory, that should be cached but there are some exceptions even so far... + url = math.random() -- to shut luacheck about empty branch with a comment end end end end end -local function check_specific_map(value, uri, m, results) - local value = m:get_key(value) +local function check_specific_map(input, uri, m, results) + local value = m:get_key(input) if value then local result = { |