X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=score.c;h=5d401dc531b77bdb813588c83d4d33127f7bf71c;hp=4bc13e62523d6173c7bae7cf24c08ca09f223732;hb=1f2ac11f2012a0cc6c8a9fb01aed29b267411539;hpb=bbc4fd52516a8afefbd14c77e34f8389d6f0a6ed 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;