fixes to support parsing AdopteUnMec's profile

This commit is contained in:
Romain Bignon 2011-12-07 15:05:58 +01:00
commit 3bf772ec51
4 changed files with 47 additions and 39 deletions

View file

@ -71,6 +71,9 @@ class AntiSpam(object):
return True
def check_contact(self, contact):
if contact.id == 1:
return True
if not self.check_profile(contact.aum_profile):
return False