aboutsummaryrefslogtreecommitdiffstats
path: root/src/rspamd.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-07-30 15:40:31 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-07-30 15:40:31 +0100
commit67761b737080a3e8f4a5ac8417258d6fcda05240 (patch)
tree2ed0a1a22d5c6593321af6d3e028db0a457b535f /src/rspamd.c
parentd0a4d803ecfb7934ccd4e665e8b0919eaa2a8d3c (diff)
downloadrspamd-67761b737080a3e8f4a5ac8417258d6fcda05240.tar.gz
rspamd-67761b737080a3e8f4a5ac8417258d6fcda05240.zip
[Project] Implement fast module ctx lookup
Diffstat (limited to 'src/rspamd.c')
-rw-r--r--src/rspamd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rspamd.c b/src/rspamd.c
index 4b001948d..9339e0a3f 100644
--- a/src/rspamd.c
+++ b/src/rspamd.c
@@ -279,8 +279,6 @@ reread_config (struct rspamd_main *rspamd_main)
rspamd_symbols_cache_save (rspamd_main->cfg->cache);
tmp_cfg = rspamd_config_new (RSPAMD_CONFIG_INIT_DEFAULT);
- g_hash_table_unref (tmp_cfg->c_modules);
- tmp_cfg->c_modules = g_hash_table_ref (rspamd_main->cfg->c_modules);
tmp_cfg->libs_ctx = rspamd_main->cfg->libs_ctx;
REF_RETAIN (tmp_cfg->libs_ctx);
cfg_file = rspamd_mempool_strdup (tmp_cfg->cfg_pool,