typo
authorPierre Habouzit <madcoder@debian.org>
Sat, 19 May 2007 22:09:20 +0000 (00:09 +0200)
committerPierre Habouzit <madcoder@debian.org>
Sat, 19 May 2007 22:09:20 +0000 (00:09 +0200)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
score.cpkg

index c6c9f0b..1495ed8 100644 (file)
@@ -128,7 +128,7 @@ void mutt_score_message (CONTEXT * ctx, HEADER * hdr, int upd_ctx)
 
     if (hdr->score <= mod_score.threshold_delete)
         _mutt_set_flag(ctx, hdr, M_DELETE, 1, upd_ctx);
 
     if (hdr->score <= mod_score.threshold_delete)
         _mutt_set_flag(ctx, hdr, M_DELETE, 1, upd_ctx);
-    if (hdr->score <= mod_score.threshold_flag)
+    if (hdr->score <= mod_score.threshold_read)
         _mutt_set_flag(ctx, hdr, M_READ, 1, upd_ctx);
     if (hdr->score >= mod_score.threshold_flag)
         _mutt_set_flag(ctx, hdr, M_FLAG, 1, upd_ctx);
         _mutt_set_flag(ctx, hdr, M_READ, 1, upd_ctx);
     if (hdr->score >= mod_score.threshold_flag)
         _mutt_set_flag(ctx, hdr, M_FLAG, 1, upd_ctx);