Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

Commit

Permalink
#362: do not direct rename if article decoding is disabled
Browse files Browse the repository at this point in the history
via option Decode=no.
  • Loading branch information
hugbug committed May 30, 2017
1 parent 85b1dbc commit c5263f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/queue/QueueCoordinator.cpp
Expand Up @@ -582,7 +582,7 @@ void QueueCoordinator::StartArticleDownload(FileInfo* fileInfo, ArticleInfo* art
articleDownloader->SetArticleInfo(articleInfo);
articleDownloader->SetConnection(connection);

if (articleInfo->GetPartNumber() == 1 && g_Options->GetDirectRename())
if (articleInfo->GetPartNumber() == 1 && g_Options->GetDirectRename() && g_Options->GetDecode())
{
articleDownloader->SetContentAnalyzer(m_directRenamer.MakeArticleContentAnalyzer());
}
Expand Down

0 comments on commit c5263f8

Please sign in to comment.