parent
03d343e44b
commit
f55c98779a
|
@ -171,9 +171,9 @@ class Player(models.Model):
|
|||
def ips(self):
|
||||
ips = []
|
||||
if not getattr(self.auth_user, 'is_active', False):
|
||||
query = IP.objects.filter(player=self)
|
||||
for q in query:
|
||||
ips.append(q.ip)
|
||||
query = IP.objects.filter(player=self)
|
||||
for q in query:
|
||||
ips.append(q.ip)
|
||||
return " ".join(ips)
|
||||
|
||||
def __str__(self):
|
||||
|
|
Loading…
Reference in New Issue