From 9811f40e7732f7c461fea449047a8e94b0232972 Mon Sep 17 00:00:00 2001 From: ak1 Date: Wed, 19 Oct 2005 07:09:02 +0000 Subject: [PATCH] Andreas Krennmair: tuned scoring functionality of mutt-ng to make it more usable. git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@553 e385b8ad-14ed-0310-8656-cc95a2468c6d --- VERSION.svn | 2 +- score.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION.svn b/VERSION.svn index 0eedeef..68d5f38 100644 --- a/VERSION.svn +++ b/VERSION.svn @@ -1 +1 @@ -551 +553 diff --git a/score.c b/score.c index 4bc13e6..5d401dc 100644 --- a/score.c +++ b/score.c @@ -110,7 +110,7 @@ void mutt_score_message (CONTEXT * ctx, HEADER * hdr, int upd_ctx) hdr->score = 0; /* in case of re-scoring */ for (tmp = Score; tmp; tmp = tmp->next) { - if (mutt_pattern_exec (tmp->pat, 0, NULL, hdr) > 0) { + if (mutt_pattern_exec (tmp->pat, M_MATCH_FULL_ADDRESS, NULL, hdr) > 0) { if (tmp->exact || tmp->val == 9999 || tmp->val == -9999) { hdr->score = tmp->val; break; -- 2.20.1