aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/chartable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/chartable.c')
-rw-r--r--src/plugins/chartable.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/chartable.c b/src/plugins/chartable.c
index a140c5893..69197dfd6 100644
--- a/src/plugins/chartable.c
+++ b/src/plugins/chartable.c
@@ -86,17 +86,17 @@ chartable_module_init (struct config_file *cfg, struct module_ctx **ctx)
gint
chartable_module_config (struct config_file *cfg)
{
- rspamd_cl_object_t *value;
+ ucl_object_t *value;
gint res = TRUE;
if ((value = get_module_opt (cfg, "chartable", "symbol")) != NULL) {
- chartable_module_ctx->symbol = rspamd_cl_obj_tostring (value);
+ chartable_module_ctx->symbol = ucl_obj_tostring (value);
}
else {
chartable_module_ctx->symbol = DEFAULT_SYMBOL;
}
if ((value = get_module_opt (cfg, "chartable", "threshold")) != NULL) {
- if (!rspamd_cl_obj_todouble_safe (value, &chartable_module_ctx->threshold)) {
+ if (!ucl_obj_todouble_safe (value, &chartable_module_ctx->threshold)) {
msg_warn ("invalid numeric value");
chartable_module_ctx->threshold = DEFAULT_THRESHOLD;
}