mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2024-11-10 06:41:53 +00:00
Added connection count and last connection information (see 935f71d
)
This commit is contained in:
parent
fafc53710b
commit
3ed215ee44
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ function players.onClientConnect(clientId, firstTime, isBot)
|
||||||
local player = db.getplayer(data[clientId]["guid"])
|
local player = db.getplayer(data[clientId]["guid"])
|
||||||
|
|
||||||
if player then
|
if player then
|
||||||
db.updateplayerip(data[clientId]["guid"], data[clientId]["ip"])
|
db.updateplayer(data[clientId]["guid"], data[clientId]["ip"], os.time())
|
||||||
|
|
||||||
local alias = db.getaliasbyname(player["id"], data[clientId]["name"])
|
local alias = db.getaliasbyname(player["id"], data[clientId]["name"])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue