diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-05-28 09:30:09 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-05-28 09:30:09 +0100 |
commit | 49675005dc8a05c69480a289bc8415a875c20950 (patch) | |
tree | 8f75c8e3eb5df1d1cc68b592c1dd9dd27acd42c6 /src/lua/lua_cfg_file.c | |
parent | b5e42c18d2d245fc9ef063e11e3755adea185ace (diff) | |
download | rspamd-49675005dc8a05c69480a289bc8415a875c20950.tar.gz rspamd-49675005dc8a05c69480a289bc8415a875c20950.zip |
Adopt LUA API for symbols registration changes.
Diffstat (limited to 'src/lua/lua_cfg_file.c')
-rw-r--r-- | src/lua/lua_cfg_file.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lua/lua_cfg_file.c b/src/lua/lua_cfg_file.c index 750f1f382..b40c8185f 100644 --- a/src/lua/lua_cfg_file.c +++ b/src/lua/lua_cfg_file.c @@ -212,7 +212,8 @@ rspamd_lua_post_load_config (struct rspamd_config *cfg) } else { g_hash_table_insert (cfg->composite_symbols, sym, expr); - rspamd_symbols_cache_add_symbol_virtual (cfg->cache, sym, 1); + rspamd_symbols_cache_add_symbol_virtual (cfg->cache, sym, + 1, -1); } } } |