@@ -227,6 +227,7 @@ insert_metric_result (struct rspamd_task *task, | |||
s->score = w; | |||
s->name = symbol; | |||
s->def = sdef; | |||
metric_res->score += w; | |||
if (opts) { |
@@ -36,6 +36,7 @@ struct symbol { | |||
double score; /**< symbol's score */ | |||
GList *options; /**< list of symbol's options */ | |||
const gchar *name; | |||
struct rspamd_symbol_def *def; /**< symbol configuration */ | |||
}; | |||
struct metric_action { |