diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-07-23 20:02:33 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-07-23 20:02:33 +0400 |
commit | 3035b4fcc174228d058a0c4cc6871a01340326d0 (patch) | |
tree | d754ce1d7da6074eb02c375b3f324504576d740b /src/cfg_utils.c | |
parent | 6e59414a267e239bb42edc35b9fecd5ba2992067 (diff) | |
download | rspamd-3035b4fcc174228d058a0c4cc6871a01340326d0.tar.gz rspamd-3035b4fcc174228d058a0c4cc6871a01340326d0.zip |
* Make modules disableable from config
Diffstat (limited to 'src/cfg_utils.c')
-rw-r--r-- | src/cfg_utils.c | 1 |
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; |