From 22d17a510609cec85a767545e486df1c929797dc Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Wed, 13 Oct 2010 14:50:35 +0200 Subject: [PATCH] new pattern 'chercher un mac tres chowd' --- weboob/backends/aum/antispam.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/weboob/backends/aum/antispam.py b/weboob/backends/aum/antispam.py index aea4778a..2dc2367b 100644 --- a/weboob/backends/aum/antispam.py +++ b/weboob/backends/aum/antispam.py @@ -42,7 +42,9 @@ class AntiSpam(object): return True def check_profile(self, profile): - # TODO + # This pattern in bad french is in several spambots description. + if profile.description.find('chercher un mac tres chowd') >= 0: + return False return True OBJECTS = {ContactItem: check_contact,