Procházet zdrojové kódy

[Minor] Grr, reverse

pull/4869/head
Vsevolod Stakhov před 2 měsíci
rodič
revize
87f77fb0c7
Žádný účet není propojen s e-mailovou adresou tvůrce revize
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3
    3
      lualib/lua_maps.lua

+ 3
- 3
lualib/lua_maps.lua Zobrazit soubor

@@ -295,9 +295,9 @@ local function rspamd_map_add_from_ucl(opt, mtype, description, callback)

if opt[1] then
local function check_plain_map(line)
return lua_util.str_startswith('http', line)
or lua_util.str_startswith('file:', line)
or lua_util.str_startswith('/', line)
return lua_util.str_startswith(line, 'http')
or lua_util.str_startswith(line, 'file:')
or lua_util.str_startswith(line, '/')
end
-- Adjust each element if needed
local adjusted

Načítá se…
Zrušit
Uložit