Skip to content

Commit

Permalink
[Minor] Fix get_tld selector
Browse files Browse the repository at this point in the history
  • Loading branch information
vstakhov committed Sep 17, 2020
1 parent 4f72ad9 commit 67a9b24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lualib/lua_selectors/transforms.lua
Expand Up @@ -436,7 +436,7 @@ Empty string comes the first argument or 'true', non-empty string comes nil]],
},
['map_type'] = 'string',
['process'] = function(inp, _, _)
return rspamd_util.get_tld(inp)
return rspamd_util.get_tld(inp),'string'
end,
['description'] = 'Extracts tld from a hostname represented as a string',
['args_schema'] = {}
Expand Down

0 comments on commit 67a9b24

Please sign in to comment.