Software /
code /
prosody
Comparison
util/timer.lua @ 8555:4f0f5b49bb03
vairious: Add annotation when an empty environment is set [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 28 Feb 2018 20:06:26 +0100 |
parent | 7989:5632aa85e0b6 |
child | 8685:2548111e71d6 |
comparison
equal
deleted
inserted
replaced
8554:12a68e0d0ecf | 8555:4f0f5b49bb03 |
---|---|
14 local debug_traceback = debug.traceback; | 14 local debug_traceback = debug.traceback; |
15 local tostring = tostring; | 15 local tostring = tostring; |
16 local xpcall = xpcall; | 16 local xpcall = xpcall; |
17 | 17 |
18 local _ENV = nil; | 18 local _ENV = nil; |
19 -- luacheck: std none | |
19 | 20 |
20 local _add_task = server.add_task; | 21 local _add_task = server.add_task; |
21 | 22 |
22 local _server_timer; | 23 local _server_timer; |
23 local _active_timers = 0; | 24 local _active_timers = 0; |