diff options
Diffstat (limited to 'src/LYGetFile.c')
-rw-r--r-- | src/LYGetFile.c | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/src/LYGetFile.c b/src/LYGetFile.c index fa6b0c3e..45212601 100644 --- a/src/LYGetFile.c +++ b/src/LYGetFile.c @@ -166,6 +166,8 @@ Try_Redirected_URL: url_type == MAILTO_URL_TYPE || url_type == NEWSPOST_URL_TYPE || url_type == NEWSREPLY_URL_TYPE || + url_type == SNEWSPOST_URL_TYPE || + url_type == SNEWSREPLY_URL_TYPE || (!LYUserSpecifiedURL && (url_type == LYNXEXEC_URL_TYPE || url_type == LYNXPROG_URL_TYPE || @@ -205,26 +207,18 @@ Try_Redirected_URL: } else if (url_type == LYNXPRINT_URL_TYPE) { return(printfile(doc)); - } else if (url_type == NEWSPOST_URL_TYPE) { + } else if (url_type == NEWSPOST_URL_TYPE || + url_type == NEWSREPLY_URL_TYPE || + url_type == SNEWSPOST_URL_TYPE || + url_type == SNEWSREPLY_URL_TYPE) { if (no_newspost) { _statusline(NEWSPOSTING_DISABLED); sleep(MessageSecs); return(NULLFILE); } else { - BOOLEAN followup = FALSE; - return(LYNewsPost(doc, followup)); - } - - } else if (url_type == NEWSREPLY_URL_TYPE) { - - if (no_newspost) { - _statusline(NEWSPOSTING_DISABLED); - sleep(MessageSecs); + HTLoadAbsolute(&WWWDoc); return(NULLFILE); - } else { - BOOLEAN followup = TRUE; - return(LYNewsPost(doc, followup)); } } else if (url_type == LYNXDOWNLOAD_URL_TYPE) { |