mirror of
https://github.com/solero/houdini.git
synced 2024-11-25 15:07:24 +00:00
Update world.py
- Calculate age attribute during world authentication
This commit is contained in:
parent
9e5b8f5365
commit
fd1dcb97f1
@ -48,3 +48,5 @@ async def handle_login(p, credentials: WorldCredentials):
|
|||||||
p.data = data
|
p.data = data
|
||||||
p.login_key = credentials.login_key
|
p.login_key = credentials.login_key
|
||||||
await p.send_xt('l')
|
await p.send_xt('l')
|
||||||
|
|
||||||
|
p.age = (datetime.now() - p.data.registration_date).days
|
||||||
|
Loading…
Reference in New Issue
Block a user