Browse Source

fix borkage with murmur 1.2.0 due to accessing the wrong object

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

2
pyweb/mumble/mmobjects.py

@ -306,7 +306,7 @@ class mmPlayer( object ):
pldata = self.player_obj.__dict__.copy() pldata = self.player_obj.__dict__.copy()
if authed: if authed:
if "ipaddress" in self.player_obj:
if "ipaddress" in pldata:
pldata["x_addrstring"] = self.ipaddress pldata["x_addrstring"] = self.ipaddress
elif "address" in pldata: elif "address" in pldata:
del pldata["address"] del pldata["address"]

Loading…
Cancel
Save