Update of /cvsroot/mahogany/M/src/modules
In directory usw-pr-cvs1:/tmp/cvs-serv2333/modules
Modified Files:
Filters.cpp
Log Message:
changed SpamAssassin tag detection a bit
Index: Filters.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/modules/Filters.cpp,v
retrieving revision 1.120
retrieving revision 1.121
diff -b -u -2 -r1.120 -r1.121
--- Filters.cpp 30 Jun 2002 23:50:15 -0000 1.120
+++ Filters.cpp 1 Jul 2002 11:57:45 -0000 1.121
@@ -1892,9 +1892,8 @@
{
// check for "^.*^X-Spam-Status: Yes+$" regex manually
- const char *pc = strstr(value, "Yes");
- if ( !pc )
- return false;
-
+ if ( value.Lower().StartsWith("yes") )
return true;
+
+ return false;
}
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates