mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2024-11-10 06:41:53 +00:00
Fixed uninitialized variable
This commit is contained in:
parent
d3449f847b
commit
01e60a5055
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ function players.onconnect(clientId, firstTime, isBot)
|
||||||
if player then
|
if player then
|
||||||
db.updateplayerip(data[clientId]["guid"], data[clientId]["ip"])
|
db.updateplayerip(data[clientId]["guid"], data[clientId]["ip"])
|
||||||
|
|
||||||
local alias = db.getaliasbyname(player["id"], name)
|
local alias = db.getaliasbyname(player["id"], data[clientId]["name"])
|
||||||
|
|
||||||
if alias then
|
if alias then
|
||||||
db.updatealias(alias["id"], os.time())
|
db.updatealias(alias["id"], os.time())
|
||||||
|
|
Loading…
Reference in a new issue