clear msgflags in folder_delmsg
[mmh] / sbr / folder_delmsgs.c
index 3165883..b145e0b 100644 (file)
@@ -45,7 +45,7 @@ folder_delmsgs(struct msgs *mp, int hook)
                }
 
                /* If removal was successful, decrement message count */
-               unset_exists(mp, msgnum);
+               clear_msg_flags(mp, msgnum);
                mp->nummsg--;
        }