new pattern 'chercher un mac tres chowd'
This commit is contained in:
parent
fb0f13c685
commit
22d17a5106
1 changed files with 3 additions and 1 deletions
|
|
@ -42,7 +42,9 @@ class AntiSpam(object):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def check_profile(self, profile):
|
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
|
return True
|
||||||
|
|
||||||
OBJECTS = {ContactItem: check_contact,
|
OBJECTS = {ContactItem: check_contact,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue