From: Vsevolod Stakhov Date: Wed, 25 Nov 2020 16:39:51 +0000 (+0000) Subject: [Minor] Remove tostring X-Git-Tag: 2.7~109 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eda0fa8f2a48cc0e0cc7d4c982dfa36b6b9aa47e;p=thirdparty%2Frspamd.git [Minor] Remove tostring --- diff --git a/lualib/lua_selectors/extractors.lua b/lualib/lua_selectors/extractors.lua index ce88445e8b..3f6dc61ee4 100644 --- a/lualib/lua_selectors/extractors.lua +++ b/lualib/lua_selectors/extractors.lua @@ -368,7 +368,7 @@ the second argument is optional and defines the type (string by default)]], ['get_value'] = function(task, args) local hdr = task:get_request_header(args[1]) if hdr then - return tostring(hdr),'string' + return hdr,'string' end return nil