projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76e441c
)
moduleapi: Silence luacheck warning about unused 'id' parameter
author
Matthew Wild
<mwild1@gmail.com>
Fri, 5 Feb 2016 00:10:27 +0000
(
00:10
+0000)
committer
Matthew Wild
<mwild1@gmail.com>
Fri, 5 Feb 2016 00:10:27 +0000
(
00:10
+0000)
core/moduleapi.lua
patch
|
blob
|
history
diff --git
a/core/moduleapi.lua
b/core/moduleapi.lua
index ff68a15ce420dce6e25dd07e6616cd97e6fe41aa..14e5771b1432940c9966c51990afd5db19936c23 100644
(file)
--- a/
core/moduleapi.lua
+++ b/
core/moduleapi.lua
@@
-399,7
+399,7
@@
function timer_methods:reschedule(delay)
timer.reschedule(self.id, delay)
end
-local function timer_callback(now, id, t)
+local function timer_callback(now, id, t)
--luacheck: ignore 212/id
if t.module_env.loaded == false then return; end
return t.callback(now, unpack(t, 1, t.n));
end