mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2024-11-25 13:41:21 +00:00
Fixed wrong client id being logged as warn invoker
This commit is contained in:
parent
4145dd87ba
commit
0c3f0d84ee
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ end
|
|||
|
||||
function warns.add(clientId, reason, adminId, datetime)
|
||||
local playerid = db.getplayer(players.getGUID(clientId))["id"]
|
||||
local adminid = db.getplayer(players.getGUID(clientId))["id"]
|
||||
local adminid = db.getplayer(players.getGUID(adminId))["id"]
|
||||
|
||||
db.addwarn(playerid, reason, adminid, datetime)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue