aboutsummaryrefslogtreecommitdiffstats
path: root/core/moduleapi.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2016-02-05 00:10:27 +0000
committerMatthew Wild <mwild1@gmail.com>2016-02-05 00:10:27 +0000
commitee4541c4d82667b8f9bb67606f9dabde45eec2d2 (patch)
treeb2608c94fa21befbd8acc082d3b8d08133ec7575 /core/moduleapi.lua
parent62e7b282ea4f6e72990d839bf7f26307ccb3a61c (diff)
downloadprosody-ee4541c4d82667b8f9bb67606f9dabde45eec2d2.tar.gz
prosody-ee4541c4d82667b8f9bb67606f9dabde45eec2d2.zip
moduleapi: Silence luacheck warning about unused 'id' parameter
Diffstat (limited to 'core/moduleapi.lua')
-rw-r--r--core/moduleapi.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/moduleapi.lua b/core/moduleapi.lua
index ff68a15c..14e5771b 100644
--- 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