Procházet zdrojové kódy

[Minor] Fix invocation

tags/1.9.0
Vsevolod Stakhov před 5 roky
rodič
revize
e303d2677c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1
    1
      lualib/lua_selectors.lua

+ 1
- 1
lualib/lua_selectors.lua Zobrazit soubor

@@ -564,7 +564,7 @@ Empty string comes the first argument or 'true', non-empty string comes nil]],
['process'] = function(inp, _, args)
local rspamd_ip = require "rspamd_ip"
-- Non optimal: convert string to an IP address
local ip = rspamd_ip.fromstring(inp)
local ip = rspamd_ip.from_string(inp)

if not ip or not ip:is_valid() then
lua_util.debugm(M, "cannot convert %s to IP", inp)

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