aboutsummaryrefslogtreecommitdiffstats
path: root/src/cfg_utils.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-07-23 20:02:33 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-07-23 20:02:33 +0400
commit3035b4fcc174228d058a0c4cc6871a01340326d0 (patch)
treed754ce1d7da6074eb02c375b3f324504576d740b /src/cfg_utils.c
parent6e59414a267e239bb42edc35b9fecd5ba2992067 (diff)
downloadrspamd-3035b4fcc174228d058a0c4cc6871a01340326d0.tar.gz
rspamd-3035b4fcc174228d058a0c4cc6871a01340326d0.zip
* Make modules disableable from config
Diffstat (limited to 'src/cfg_utils.c')
-rw-r--r--src/cfg_utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cfg_utils.c b/src/cfg_utils.c
index 7307db803..30318ffda 100644
--- a/src/cfg_utils.c
+++ b/src/cfg_utils.c
@@ -418,6 +418,7 @@ parse_filters_str (struct config_file *cfg, const char *str)
cur->type = C_FILTER;
msg_debug ("parse_filters_str: found C filter %s", *p);
cur->func_name = memory_pool_strdup (cfg->cfg_pool, *p);
+ cur->module = &modules[i];
cfg->filters = g_list_prepend (cfg->filters, cur);
break;