aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_uptime.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-10-20 06:54:06 +0200
committerKim Alvefur <zash@zash.se>2017-10-20 06:54:06 +0200
commit1e9ad3b4b3aa510a0e0cac1fb148bf5dce46b002 (patch)
tree70dcda092e523cdafb71bffc063be51884f6531f /plugins/mod_uptime.lua
parentec998641fdd55a1ac784895eed6438795112905a (diff)
downloadprosody-1e9ad3b4b3aa510a0e0cac1fb148bf5dce46b002.tar.gz
prosody-1e9ad3b4b3aa510a0e0cac1fb148bf5dce46b002.zip
mod_uptime: Remove unused arguments [luacheck]
Diffstat (limited to 'plugins/mod_uptime.lua')
-rw-r--r--plugins/mod_uptime.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_uptime.lua b/plugins/mod_uptime.lua
index 2e369b16..a0a844a1 100644
--- a/plugins/mod_uptime.lua
+++ b/plugins/mod_uptime.lua
@@ -39,7 +39,7 @@ function uptime_text()
minutes, (minutes ~= 1 and "s") or "", os.date("%c", prosody.start_time));
end
-function uptime_command_handler (self, data, state)
+function uptime_command_handler ()
return { info = uptime_text(), status = "completed" };
end