diff --git a/mail_menu.c b/mail_menu.c index c547d62..17d36bc 100644 --- a/mail_menu.c +++ b/mail_menu.c @@ -1902,7 +1902,9 @@ void mail_scan(struct user_record *user) { if (conf.mail_conferences[i]->mail_areas[j]->type == TYPE_NETMAIL_AREA) { msghs = read_message_headers(i, j, user); if (msghs != NULL) { - s_printf(" --> %d. %s (%d new)\r\n", j, conf.mail_conferences[i]->mail_areas[j]->name, msghs->msg_count); + if (msghs->msg_count > 0) { + s_printf(" --> %d. %s (%d new)\r\n", j, conf.mail_conferences[i]->mail_areas[j]->name, msghs->msg_count); + } free_message_headers(msghs); } } else {