summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2023-09-03 21:35:04 -0300
committerJesusaves <cpntb1@ymail.com>2023-09-03 21:35:04 -0300
commit06b0d04f209050e620b00e6991da29006dda6bae (patch)
tree6e9a5b6039c8bfd31b47aa08d4d6663e850e5e59
parentf81875b687534df32f9645982673ba2cf29ffa19 (diff)
downloadserver-06b0d04f209050e620b00e6991da29006dda6bae.tar.gz
server-06b0d04f209050e620b00e6991da29006dda6bae.tar.bz2
server-06b0d04f209050e620b00e6991da29006dda6bae.tar.xz
server-06b0d04f209050e620b00e6991da29006dda6bae.zip
Fix bugs for archival versionv2.3.9.3+1
-rw-r--r--player.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/player.py b/player.py
index 685f8b4..a8b6f6e 100644
--- a/player.py
+++ b/player.py
@@ -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