aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmime')
-rw-r--r--src/libmime/filter.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libmime/filter.c b/src/libmime/filter.c
index ad9a53a2f..7d7836d6f 100644
--- a/src/libmime/filter.c
+++ b/src/libmime/filter.c
@@ -242,11 +242,10 @@ insert_metric_result (struct rspamd_task *task,
k = kh_get (rspamd_options_hash, s->options, opt);
if (k == kh_end (s->options)) {
- single = TRUE;
+ rspamd_task_add_result_option (task, s, opt);
}
else {
s->nshots ++;
- rspamd_task_add_result_option (task, s, opt);
}
}
else {