From: Vsevolod Stakhov Date: Wed, 1 Jul 2020 11:52:39 +0000 (+0100) Subject: [Minor] Pet luacheck X-Git-Tag: 2.6~276 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f8d62fc0dd10f50a340386f324b31b20f84796b;p=thirdparty%2Frspamd.git [Minor] Pet luacheck --- diff --git a/rules/controller/maps.lua b/rules/controller/maps.lua index be93e0a6d4..f21b34c249 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 = {