diff options
Diffstat (limited to 'src/expressions.c')
-rw-r--r-- | src/expressions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expressions.c b/src/expressions.c index c4465742c..650721b9e 100644 --- a/src/expressions.c +++ b/src/expressions.c @@ -952,7 +952,7 @@ rspamd_parts_distance (struct worker_task * task, GList * args, void *unused) return FALSE; } p2 = cur->data; - if (fuzzy_compare_hashes (p1->fuzzy, p2->fuzzy) >= threshold) { + if (fuzzy_compare_hashes (p1->fuzzy, p2->fuzzy) <= threshold) { return TRUE; } } |