mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-16 22:37:34 +00:00
fix get
This commit is contained in:
parent
17fda47d74
commit
b468a72c33
|
@ -214,9 +214,7 @@ function gmInte.playerFilter(data)
|
|||
// get data
|
||||
gmInte.get("/server/user" .. "?steamID64=" .. data.steamID64,
|
||||
function(code, body)
|
||||
local receiveData = util.JSONToTable(body)
|
||||
|
||||
if (!receiveData.trust) then return end
|
||||
if (!body || !receiveData.trust) then return end
|
||||
|
||||
// Gmod Integration Trust
|
||||
if (gmInte.config.filterOnTrust && (receiveData.trust < gmInte.config.minimalTrust)) then
|
||||
|
|
Loading…
Reference in New Issue
Block a user