summaryrefslogtreecommitdiffstats
path: root/src/scanviewer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/scanviewer.cpp')
-rw-r--r--src/scanviewer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/scanviewer.cpp b/src/scanviewer.cpp
index c6efd93..7322524 100644
--- a/src/scanviewer.cpp
+++ b/src/scanviewer.cpp
@@ -418,6 +418,9 @@ void ScanViewer::slotScan(const TQStringList & filepattern, int mode, bool recur
// if (KlamavConfig::virusLimitsExceeded())
// options += "--block-max ";
+ if (!(KlamavConfig::scanArchives()))
+ options += "--scan-archive=no ";
+
if (KlamavConfig::virusEncrypted())
options += "--alert-encrypted ";