diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-11-04 15:42:15 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-11-04 15:42:15 +0000 |
commit | 70c5a7b68850e825b29b12c672fda71e366f58ff (patch) | |
tree | f100c3558bdf7cbcff45d7156ea5681c4ab4c60a /src/plugins | |
parent | cc2301c1517da93dfe0867a5a91bafae18001e1a (diff) | |
download | rspamd-70c5a7b68850e825b29b12c672fda71e366f58ff.tar.gz rspamd-70c5a7b68850e825b29b12c672fda71e366f58ff.zip |
[Rework] Kill metrics!11
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/dkim_check.c | 4 | ||||
-rw-r--r-- | src/plugins/regexp.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/dkim_check.c b/src/plugins/dkim_check.c index 055498746..39ccf9bc6 100644 --- a/src/plugins/dkim_check.c +++ b/src/plugins/dkim_check.c @@ -543,10 +543,10 @@ dkim_module_config (struct rspamd_config *cfg) "DKIM_SIGN", dkim_module_ctx->symbol_reject); } - rspamd_config_add_metric_symbol (cfg, + rspamd_config_add_symbol (cfg, "DKIM_SIGN", 0.0, "DKIM signature fake symbol", "dkim", RSPAMD_SYMBOL_FLAG_IGNORE, 1, 1); - rspamd_config_add_metric_symbol (cfg, + rspamd_config_add_symbol (cfg, "DKIM_TRACE", 0.0, "DKIM trace symbol", "dkim", RSPAMD_SYMBOL_FLAG_IGNORE, 1, 1); diff --git a/src/plugins/regexp.c b/src/plugins/regexp.c index bd016ac82..03dd21734 100644 --- a/src/plugins/regexp.c +++ b/src/plugins/regexp.c @@ -303,7 +303,7 @@ regexp_module_config (struct rspamd_config *cfg) priority = ucl_object_toint (elt); } - rspamd_config_add_metric_symbol (cfg, cur_item->symbol, + rspamd_config_add_symbol (cfg, cur_item->symbol, score, description, group, flags, priority, nshots); } } |