diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-10-08 11:17:20 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-10-08 11:17:20 +0100 |
commit | ecd357f4b09a485537cde1699d3b64a1e87a4101 (patch) | |
tree | e22b3025458e5262218a22adb8d55ba5680c1c55 /src/libserver/dynamic_cfg.c | |
parent | 8de4f25c4a3f1337ff3c0efb7ef646bfc4104982 (diff) | |
download | rspamd-ecd357f4b09a485537cde1699d3b64a1e87a4101.tar.gz rspamd-ecd357f4b09a485537cde1699d3b64a1e87a4101.zip |
[Minor] Further steps to get rid of metrics support
Diffstat (limited to 'src/libserver/dynamic_cfg.c')
-rw-r--r-- | src/libserver/dynamic_cfg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libserver/dynamic_cfg.c b/src/libserver/dynamic_cfg.c index 950b9719c..fa2cc6d1e 100644 --- a/src/libserver/dynamic_cfg.c +++ b/src/libserver/dynamic_cfg.c @@ -79,7 +79,7 @@ apply_dynamic_conf (const ucl_object_t *top, struct rspamd_config *cfg) /* * We use priority = 3 here */ - rspamd_config_add_metric_symbol (cfg, real_metric->name, + rspamd_config_add_metric_symbol (cfg, ucl_object_tostring (n), nscore, NULL, NULL, 0, priority, cfg->default_max_shots); } |