Browse Source

check for address field existing before trying to del it

Natenom/support-murmur-13-1446181288462
Michael Ziegler 14 years ago
parent
commit
00fb7a1f8c
  1. 2
      pyweb/mumble/mmobjects.py

2
pyweb/mumble/mmobjects.py

@ -308,7 +308,7 @@ class mmPlayer( object ):
if authed: if authed:
if "ipaddress" in self.player_obj: if "ipaddress" in self.player_obj:
pldata["x_addrstring"] = self.ipaddress pldata["x_addrstring"] = self.ipaddress
else:
elif "address" in pldata:
del pldata["address"] del pldata["address"]
if self.channel.server.hasUserTexture(self.userid): if self.channel.server.hasUserTexture(self.userid):

Loading…
Cancel
Save