]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Remove superflous "string.format()"
authortwesterhever <40121680+twesterhever@users.noreply.github.com>
Wed, 1 May 2024 08:09:19 +0000 (08:09 +0000)
committertwesterhever <40121680+twesterhever@users.noreply.github.com>
Wed, 1 May 2024 08:09:19 +0000 (08:09 +0000)
rules/regexp/headers.lua

index 7397ed84bb7a06718fec257f4fcf98fe4c28b055..dc339b0adb94b4cd0d385c2b4ab5736695af219d 100644 (file)
@@ -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'