updates, use compiler warnings, we have a good one, do that.
[apps/madmutt.git] / score.c
diff --git a/score.c b/score.c
index 4bc13e6..5d401dc 100644 (file)
--- 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;