summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2018-03-21 15:46:27 +0000
committerGitHub <noreply@github.com>2018-03-21 15:46:27 +0000
commit3963c3db9886eaeadcb86a38920e58c9e306ec8b (patch)
treeeb00c7c9459bd41d215be7df572517d98aa773be
parent15cc0164347a8397b324709b0ef288bd421f24cc (diff)
downloadrspamd-3963c3db9886eaeadcb86a38920e58c9e306ec8b.tar.gz
rspamd-3963c3db9886eaeadcb86a38920e58c9e306ec8b.zip
[Refactor] Remove duplicate code
-rw-r--r--src/plugins/lua/milter_headers.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/plugins/lua/milter_headers.lua b/src/plugins/lua/milter_headers.lua
index 11c08d6d5..8998fb834 100644
--- a/src/plugins/lua/milter_headers.lua
+++ b/src/plugins/lua/milter_headers.lua
@@ -486,11 +486,6 @@ if type(opts['custom']) == 'table' then
end
end
end
-if opts['extended_spam_headers'] then
- activate_routine('x-spamd-result')
- activate_routine('x-rspamd-server')
- activate_routine('x-rspamd-queue-id')
-end
if type(opts['skip_local']) == 'boolean' then
settings.skip_local = opts['skip_local']
end