Author: felicity
Date: Sat Mar 27 20:16:40 2004
New Revision: 9798
Modified:
incubator/spamassassin/trunk/lib/Mail/SpamAssassin/ArchiveIterator.pm
Log:
added a little more commenting on the default to ham mode...
Modified: incubator/spamassassin/trunk/lib/Mail/SpamAssassin/ArchiveIterator.pm
==============================================================================
--- incubator/spamassassin/trunk/lib/Mail/SpamAssassin/ArchiveIterator.pm (original)
+++ incubator/spamassassin/trunk/lib/Mail/SpamAssassin/ArchiveIterator.pm Sat Mar 27 20:16:40 2004
@@ -244,7 +244,9 @@
foreach my $target (@${targets}) {
my ($class, $format, $rawloc) = split(/:/, $target, 3);
- $class = substr($class, 0, 1) || 'h'; # use ham by default
+
+ # use ham by default, things like "spamassassin" can't specify the type
+ $class = substr($class, 0, 1) || 'h';
my @locations = $self->fix_globs($rawloc);
Date: Sat Mar 27 20:16:40 2004
New Revision: 9798
Modified:
incubator/spamassassin/trunk/lib/Mail/SpamAssassin/ArchiveIterator.pm
Log:
added a little more commenting on the default to ham mode...
Modified: incubator/spamassassin/trunk/lib/Mail/SpamAssassin/ArchiveIterator.pm
==============================================================================
--- incubator/spamassassin/trunk/lib/Mail/SpamAssassin/ArchiveIterator.pm (original)
+++ incubator/spamassassin/trunk/lib/Mail/SpamAssassin/ArchiveIterator.pm Sat Mar 27 20:16:40 2004
@@ -244,7 +244,9 @@
foreach my $target (@${targets}) {
my ($class, $format, $rawloc) = split(/:/, $target, 3);
- $class = substr($class, 0, 1) || 'h'; # use ham by default
+
+ # use ham by default, things like "spamassassin" can't specify the type
+ $class = substr($class, 0, 1) || 'h';
my @locations = $self->fix_globs($rawloc);