Deep rework of nntp_data_t (ex-NNTP_DATA) to make it list-able.
[apps/madmutt.git] / pager.c
diff --git a/pager.c b/pager.c
index f1c9623..dd1a621 100644 (file)
--- a/pager.c
+++ b/pager.c
@@ -2221,7 +2221,7 @@ mutt_pager (const char *banner, const char *fname, int flags, pager_t * extra)
       CHECK_MODE (IsHeader (extra) && !IsAttach (extra));
       CHECK_ATTACH;
       if (extra->ctx && extra->ctx->magic == M_NNTP &&
-          !((NNTP_DATA *) extra->ctx->data)->allowed &&
+          !((nntp_data_t *) extra->ctx->data)->allowed &&
           query_quadoption (OPT_TOMODERATED,
                             _
                             ("Posting to this group not allowed, may be moderated. Continue?"))
@@ -2235,7 +2235,7 @@ mutt_pager (const char *banner, const char *fname, int flags, pager_t * extra)
       CHECK_MODE (IsHeader (extra) || IsMsgAttach (extra));
       CHECK_ATTACH;
       if (extra->ctx && extra->ctx->magic == M_NNTP &&
-          !((NNTP_DATA *) extra->ctx->data)->allowed &&
+          !((nntp_data_t *) extra->ctx->data)->allowed &&
           query_quadoption (OPT_TOMODERATED,
                             _
                             ("Posting to this group not allowed, may be moderated. Continue?"))
@@ -2263,7 +2263,7 @@ mutt_pager (const char *banner, const char *fname, int flags, pager_t * extra)
           query_quadoption (OPT_FOLLOWUPTOPOSTER,
                             _("Reply by mail as poster prefers?")) != M_YES) {
         if (extra->ctx && extra->ctx->magic == M_NNTP
-            && !((NNTP_DATA *) extra->ctx->data)->allowed
+            && !((nntp_data_t *) extra->ctx->data)->allowed
             && query_quadoption (OPT_TOMODERATED,
                                  _
                                  ("Posting to this group not allowed, may be moderated. Continue?"))