This commit is contained in:
Linventif 2023-11-18 00:19:04 +01:00
parent 17fda47d74
commit b468a72c33

View File

@ -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