X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/2cc0aa8a5d5c3b84c59598092c289d39b0cc4d3c..cf4c6f115a98cb8574c9665f34a50ae503a57b79:/forum/badges/base.py?ds=sidebyside 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))