diff options
-rw-r--r-- | player.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -840,9 +840,9 @@ def register(args, token): # If email is an UID mail, clobber it check=sql.query_email("_%s@spheres.tmw2.org" % (MyUID)) if (check != ""): - passwd=clobber_email(check, "_%s@spheres.tmw2.org" % (MyUID), mail) + passwd=sql.clobber_email(check, "_%s@spheres.tmw2.org" % (MyUID), mail) stdout("INFO: Set a new email for \"%s\" (%s)" % (check, mail)) - return compress({"userid": userid, "password": passwd}) + return compress({"userid": MyUID, "password": passwd}) stdout("Now registering account") # Register it |