Browse Source

pass the correct object to updateregistration

Natenom/support-murmur-13-1446181288462
Michael Ziegler 14 years ago
parent
commit
145cd0b90f
  1. 2
      pyweb/mumble/MumbleCtlIce.py

2
pyweb/mumble/MumbleCtlIce.py

@ -324,7 +324,7 @@ class MumbleCtlIce_118(MumbleCtlBase):
@protectDjangoErrPage @protectDjangoErrPage
def setRegistration(self, srvid, mumbleid, name, email, password): def setRegistration(self, srvid, mumbleid, name, email, password):
import Murmur import Murmur
user = Murmur.Player()
user = Murmur.RegisteredPlayer()
user.playerid = mumbleid user.playerid = mumbleid
user.name = name.encode( "UTF-8" ) user.name = name.encode( "UTF-8" )
user.email = email.encode( "UTF-8" ) user.email = email.encode( "UTF-8" )

Loading…
Cancel
Save