Skip to content

Commit

Permalink
Update server.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
ATG committed May 27, 2020
1 parent 32a69bd commit 6740aac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ AddEventHandler("esx-qalle-jail:unJailPlayer", function(tI)
local src = source;
local targetIdentifier = tI;
local xTgt = ESX.GetPlayerFromIdentifier(targetIdentifier);
local tgt = xTgt.source;
if xTgt ~= nil then
local tgt = xTgt.source;
local legit = checkIfLegit(src, tgt);
if legit["legit"] == true then
UnJail(tgt)
Expand Down

0 comments on commit 6740aac

Please sign in to comment.