diff options
Diffstat (limited to 'src/scanviewer.cpp')
-rw-r--r-- | src/scanviewer.cpp | 3 |
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 "; |