fix: CurTime() not curtime()

This commit is contained in:
Linventif 2024-03-29 15:34:43 +01:00
parent 1d813e0562
commit aa0b7ebd81
No known key found for this signature in database
GPG Key ID: FAC0CA60F9AEEC24

View File

@ -31,7 +31,8 @@ end
local lastErrorMessages = 0 local lastErrorMessages = 0
local function noTokenError() local function noTokenError()
if (curTime() - lastErrorMessages < 10) then return end if CurTime() - lastErrorMessages < 5 then return end
lastErrorMessages = CurTime()
gmInte.log("HTTP Failed: No token provided") gmInte.log("HTTP Failed: No token provided")
end end