aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
commit63379b4debf91b853ae5030f49533065b79affe0 (patch)
tree70dcda092e523cdafb71bffc063be51884f6531f /plugins
parentfc7955077e8843945dc1ecf2d9e26a28241e91a8 (diff)
downloadprosody-63379b4debf91b853ae5030f49533065b79affe0.tar.gz
prosody-63379b4debf91b853ae5030f49533065b79affe0.zip
mod_uptime: Remove unused arguments [luacheck]
Diffstat (limited to 'plugins')
-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