diff options
author | Andrew Lewis <nerf@judo.za.org> | 2016-11-21 19:43:15 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2016-11-21 19:43:15 +0200 |
commit | a8a5f4127820712cc990480dcc9d6780eb15e0e8 (patch) | |
tree | fa6026273789b6f3bf38977cf2e80fa00fc8fe85 /src/plugins/lua/replies.lua | |
parent | 91a96742d37ca1b096b825f7a941b42aa4987e51 (diff) | |
download | rspamd-a8a5f4127820712cc990480dcc9d6780eb15e0e8.tar.gz rspamd-a8a5f4127820712cc990480dcc9d6780eb15e0e8.zip |
[Minor] Add missing symbol registration
Diffstat (limited to 'src/plugins/lua/replies.lua')
-rw-r--r-- | src/plugins/lua/replies.lua | 7 |
1 files changed, 6 insertions, 1 deletions
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 |