logo       

[SACVS] CVS: spamassassin/lib/Mail/SpamAssassin Conf.pm,1.256,1.257 EvalTes: msg#00078

mail.spam.spamassassin.cvs

Subject: [SACVS] CVS: spamassassin/lib/Mail/SpamAssassin Conf.pm,1.256,1.257 EvalTests.pm,1.446,1.447

Update of /cvsroot/spamassassin/spamassassin/lib/Mail/SpamAssassin
In directory sc8-pr-cvs1:/tmp/cvs-serv32672/lib/Mail/SpamAssassin

Modified Files:
Conf.pm EvalTests.pm
Log Message:
documentation/comment fix: UNDESIRED_LANGUAGE_BODY wasn't renamed to
UNWANTED_LANGUAGE_BODY everywhere


Index: Conf.pm
===================================================================
RCS file: /cvsroot/spamassassin/spamassassin/lib/Mail/SpamAssassin/Conf.pm,v
retrieving revision 1.256
retrieving revision 1.257
diff -b -w -u -d -r1.256 -r1.257
--- Conf.pm 19 Sep 2003 01:51:28 -0000 1.256
+++ Conf.pm 21 Sep 2003 02:15:14 -0000 1.257
@@ -1013,7 +1013,7 @@
Note that the language cannot always be recognized with sufficient
confidence. In that case, no points will be assigned.

-The rule C<UNDESIRED_LANGUAGE_BODY> is triggered based on how this is set.
+The rule C<UNWANTED_LANGUAGE_BODY> is triggered based on how this is set.

In your configuration, you must use the two or three letter language
specifier in lowercase, not the English name for the language. You may

Index: EvalTests.pm
===================================================================
RCS file:
/cvsroot/spamassassin/spamassassin/lib/Mail/SpamAssassin/EvalTests.pm,v
retrieving revision 1.446
retrieving revision 1.447
diff -b -w -u -d -r1.446 -r1.447
--- EvalTests.pm 26 Aug 2003 04:54:27 -0000 1.446
+++ EvalTests.pm 21 Sep 2003 02:15:15 -0000 1.447
@@ -2077,13 +2077,13 @@
return ($self->{num_yelling_lines} >= $threshold);
}

-sub check_language { # UNDESIRED_LANGUAGE_BODY
+sub check_language { # UNWANTED_LANGUAGE_BODY
my ($self, $body) = @_;
$self->_check_language();
return $self->{undesired_language_body};
}

-sub _check_language { # UNDESIRED_LANGUAGE_BODY
+sub _check_language { # UNWANTED_LANGUAGE_BODY
my ($self, $body) = @_;

if (defined $self->{undesired_language_body}) {



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise