mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-15 22:07:34 +00:00
fix: CurTime() not curtime()
This commit is contained in:
parent
1d813e0562
commit
aa0b7ebd81
|
@ -31,7 +31,8 @@ end
|
|||
|
||||
local lastErrorMessages = 0
|
||||
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")
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user