]> source.dussan.org Git - rspamd.git/commitdiff
[Refactor] Remove duplicate code 2102/head
authorAlexander Moisseev <moiseev@mezonplus.ru>
Wed, 21 Mar 2018 15:46:27 +0000 (15:46 +0000)
committerGitHub <noreply@github.com>
Wed, 21 Mar 2018 15:46:27 +0000 (15:46 +0000)
src/plugins/lua/milter_headers.lua

index 11c08d6d5986847d3ad259a1772ca233d5427d71..8998fb83432e6b2a66fb77b0d7b7a9924c65870e 100644 (file)
@@ -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