commit 6159ddc: [Minor] Fix symbol registration invocation

Vsevolod Stakhov vsevolod at highsecure.ru
Thu Jul 4 14:42:06 UTC 2019


Author: Vsevolod Stakhov
Date: 2019-07-04 15:39:05 +0100
URL: https://github.com/rspamd/rspamd/commit/6159ddc0cbf0a802da4b528a93af92c75f65ed89 (HEAD -> master)

[Minor] Fix symbol registration invocation

---
 src/plugins/lua/settings.lua | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/plugins/lua/settings.lua b/src/plugins/lua/settings.lua
index bfd11c439..6550dcef1 100644
--- a/src/plugins/lua/settings.lua
+++ b/src/plugins/lua/settings.lua
@@ -919,7 +919,7 @@ local function process_settings_table(tbl, allow_ids, mempool)
       if elt.apply.symbols then
         -- Register virtual symbols
         for _,sym in ipairs(elt.apply.symbols) do
-          rspamd_config.register_symbol{
+          rspamd_config:register_symbol{
             name = sym,
             type = 'virtual,ghost',
           }


More information about the Commits mailing list