summaryrefslogtreecommitdiffstats
path: root/src/libserver
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-02-18 12:56:31 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-02-18 12:56:31 +0000
commit29a06a80f432749fd707aecfb1612da5e4af76aa (patch)
treeb592dd8e24d2a4674aa5ee4fae73d3b9089a44f8 /src/libserver
parent8e04a2a8db85cab3738128fd0c7ba39df5ca24b9 (diff)
downloadrspamd-29a06a80f432749fd707aecfb1612da5e4af76aa.tar.gz
rspamd-29a06a80f432749fd707aecfb1612da5e4af76aa.zip
Save classifier options.
Diffstat (limited to 'src/libserver')
-rw-r--r--src/libserver/cfg_rcl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libserver/cfg_rcl.c b/src/libserver/cfg_rcl.c
index 6c309d4dd..eece86fb7 100644
--- a/src/libserver/cfg_rcl.c
+++ b/src/libserver/cfg_rcl.c
@@ -967,6 +967,7 @@ rspamd_rcl_classifier_handler (struct rspamd_config *cfg,
msg_err ("fatal configuration error, cannot parse statfile definition");
}
+ ccf->opts = (ucl_object_t *)obj;
cfg->classifiers = g_list_prepend (cfg->classifiers, ccf);