#include "alias.h"
#include "sort.h"
#include "thread.h"
+#include "score.h"
#include "mutt_idna.h"
#define SORTCODE(x) (Sort & SORT_REVERSE) ? -(x) : x
if (!ctx->quiet)
mutt_message _("Sorting mailbox...");
- if (option (OPTNEEDRESCORE) && option (OPTSCORE)) {
+ if (option (OPTNEEDRESCORE) && mod_score.enable) {
for (i = 0; i < ctx->msgcount; i++)
mutt_score_message (ctx, ctx->hdrs[i], 1);
}