From a8a5f4127820712cc990480dcc9d6780eb15e0e8 Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Mon, 21 Nov 2016 19:43:15 +0200 Subject: [PATCH] [Minor] Add missing symbol registration --- src/plugins/lua/replies.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/plugins/lua/replies.lua b/src/plugins/lua/replies.lua index 6704882e0..d1cd23c60 100644 --- a/src/plugins/lua/replies.lua +++ b/src/plugins/lua/replies.lua @@ -127,12 +127,17 @@ if opts then callback = replies_set, priority = 5 }) - rspamd_config:register_symbol({ + local id = rspamd_config:register_symbol({ name = 'REPLIES_CHECK', type = 'prefilter', callback = replies_check, priority = 10 }) + rspamd_config:register_symbol({ + name = settings['symbol'], + parent = id, + type = 'virtual' + }) end for k,v in pairs(opts) do -- 2.39.5