From 1e26965231f3a3587d65e8f92fbcd0e9419c72d8 Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Fri, 20 Jan 2017 17:00:38 +0200 Subject: [PATCH] [Minor] Small fix for rmilter headers rework --- src/plugins/lua/rmilter_headers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/lua/rmilter_headers.lua b/src/plugins/lua/rmilter_headers.lua index 86acaf950..4e3eee0f8 100644 --- a/src/plugins/lua/rmilter_headers.lua +++ b/src/plugins/lua/rmilter_headers.lua @@ -336,7 +336,7 @@ if type(opts['custom']) == 'table' then end end for _, s in ipairs(opts['use']) do - if (opts.routines and opts.routines[s]) or custom_routines[s] then + if settings.routines[s] or custom_routines[s] then table.insert(active_routines, s) if (opts.routines and opts.routines[s]) then for k, v in pairs(opts.routines[s]) do -- 2.39.5