diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-12-11 20:07:04 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-12-11 20:07:04 +0000 |
commit | e303d2677cd666770616450ed923cc45195fac8c (patch) | |
tree | af7470364f3129d7a08a27d824e49c886264171d /lualib/lua_selectors.lua | |
parent | f3a6e16277b4580a03af56476b66df379818bec6 (diff) | |
download | rspamd-e303d2677cd666770616450ed923cc45195fac8c.tar.gz rspamd-e303d2677cd666770616450ed923cc45195fac8c.zip |
[Minor] Fix invocation
Diffstat (limited to 'lualib/lua_selectors.lua')
-rw-r--r-- | lualib/lua_selectors.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_selectors.lua b/lualib/lua_selectors.lua index 8d68341b4..760a15e8c 100644 --- a/lualib/lua_selectors.lua +++ b/lualib/lua_selectors.lua @@ -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) |