diff --git a/modules/aum/antispam.py b/modules/aum/antispam.py index 236425a5..79e13090 100644 --- a/modules/aum/antispam.py +++ b/modules/aum/antispam.py @@ -77,7 +77,7 @@ class AntiSpam(object): if contact.id == 1: return True - if not self.check_profile(contact.aum_profile): + if not self.check_profile(contact._aum_profile): return False return True diff --git a/modules/aum/contact.py b/modules/aum/contact.py index c0ff46ad..0dd3bbe9 100644 --- a/modules/aum/contact.py +++ b/modules/aum/contact.py @@ -253,7 +253,7 @@ class Contact(_Contact): self.profile[section] = s - self.aum_profile = profile + self._aum_profile = profile def get_text(self): def print_node(node, level=1):