always build imap as well.
[apps/madmutt.git] / compose.c
index 553e9b2..f449b1e 100644 (file)
--- a/compose.c
+++ b/compose.c
@@ -853,9 +853,7 @@ int mutt_compose_menu (HEADER * msg,    /* structure for new message */
         else
 #endif
           mutt_expand_path (fname, sizeof (fname));
-#ifdef USE_IMAP
         if (mx_get_magic (fname) != M_IMAP)
-#endif
           if (mx_get_magic (fname) != M_POP)
 #ifdef USE_NNTP
             if (mx_get_magic (fname) != M_NNTP && !option (OPTNEWS))