From 48db96cdcb93d2495dc3b550056aa9bdfbbd0a60 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 15 Jan 2019 12:50:35 +0000 Subject: [Minor] Fix various issues --- src/plugins/regexp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/regexp.c') diff --git a/src/plugins/regexp.c b/src/plugins/regexp.c index 87ab1f9c0..07d8e81b0 100644 --- a/src/plugins/regexp.c +++ b/src/plugins/regexp.c @@ -223,7 +223,7 @@ regexp_module_config (struct rspamd_config *cfg) cur_item->symbol = ucl_object_key (value); cur_item->magic = rspamd_regexp_cb_magic; ud.cfg = cfg; - ud.conf_obj = elt; + ud.conf_obj = value; if (!read_regexp_expression (cfg->cfg_pool, cur_item, ucl_object_key (value), -- cgit v1.2.3