Changeset 53
- Timestamp:
- 23.11.2006 21:10:45 (2 years ago)
- Files:
-
- trunk/devel/FuzzyOcr.pm (modified) (1 diff)
- trunk/devel/FuzzyOcr/Config.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/devel/FuzzyOcr.pm
r52 r53 86 86 if ( $pms->get_score() > $conf->{focr_autodisable_score} ) { 87 87 debuglog("Scan canceled, message has already more than $conf->{focr_autodisable_score} points."); 88 return 0; 89 } 90 91 if ( $pms->get_score() < $conf->{focr_autodisable_negative_score} ) { 92 debuglog("Scan canceled, message has less than $conf->{focr_autodisable_negative_score} points."); 88 93 return 0; 89 94 } trunk/devel/FuzzyOcr/Config.pm
r51 r53 308 308 setting => 'focr_autodisable_score', 309 309 default => 10, 310 type => $Mail::SpamAssassin::Conf::CONF_TYPE_NUMERIC 311 }); 312 313 push (@cmds, { 314 setting => 'focr_autodisable_negative_score', 315 default => -5, 310 316 type => $Mail::SpamAssassin::Conf::CONF_TYPE_NUMERIC 311 317 });
