aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortwesterhever <40121680+twesterhever@users.noreply.github.com>2024-05-01 08:09:19 +0000
committertwesterhever <40121680+twesterhever@users.noreply.github.com>2024-05-01 08:09:19 +0000
commiteed763a7cf7deb90c98085c047bafad998ef05b5 (patch)
tree7e3657635cb5ae922e15e52e1a486a6af08a452b
parentce23345c5de784d0ebc9bdbbcc497f34ba3af065 (diff)
downloadrspamd-eed763a7cf7deb90c98085c047bafad998ef05b5.tar.gz
rspamd-eed763a7cf7deb90c98085c047bafad998ef05b5.zip
[Minor] Remove superflous "string.format()"
-rw-r--r--rules/regexp/headers.lua2
1 files changed, 1 insertions, 1 deletions
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'