From: twesterhever <40121680+twesterhever@users.noreply.github.com> Date: Wed, 1 May 2024 08:09:19 +0000 (+0000) Subject: [Minor] Remove superflous "string.format()" X-Git-Tag: 3.9.0~50^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=eed763a7cf7deb90c98085c047bafad998ef05b5;p=rspamd.git [Minor] Remove superflous "string.format()" --- diff --git a/rules/regexp/headers.lua b/rules/regexp/headers.lua index 7397ed84b..dc339b0ad 100644 --- a/rules/regexp/headers.lua +++ b/rules/regexp/headers.lua @@ -904,7 +904,7 @@ reconf['HAS_ORG_HEADER'] = { } reconf['HAS_CD_HEADER'] = { - re = string.format('header_exists(Content-Description)'), + re = 'header_exists(Content-Description)', description = 'Has Content-Description header', score = 0.0, group = 'headers'