X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/2cc0aa8a5d5c3b84c59598092c289d39b0cc4d3c..0ad5d07da08894c96caf49e05e9cf649e58d6554:/forum/badges/base.py diff --git a/forum/badges/base.py b/forum/badges/base.py index 1900119..79fcb52 100644 --- a/forum/badges/base.py +++ b/forum/badges/base.py @@ -69,7 +69,7 @@ class AbstractBadge(object): trigger = isinstance(action, Action) and action or None if not awarded: - AwardAction(user=user, node=node, ip=action.ip).save(data=dict(badge=cls.ondb, trigger=trigger)) + AwardAction(user=user, node=node).save(data=dict(badge=cls.ondb, trigger=trigger)) except MultipleObjectsReturned: if node: logging.error('Found multiple %s badges awarded for user %s (%s)' % (self.name, user.username, user.id))