aboutsummaryrefslogtreecommitdiff
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
commit7ce177763f2f34c4524c9d6c4ffb91bc43ef01b1 (patch)
tree3b64a6ae9d6dd33d5c533e8d626a961c7d8bd6e0
parent0d0aab0f21f1c5842d016abeaf0d394bee23baa5 (diff)
downloadprosody-im-server-7ce177763f2f34c4524c9d6c4ffb91bc43ef01b1.tar
prosody-im-server-7ce177763f2f34c4524c9d6c4ffb91bc43ef01b1.zip
mod_uptime: Remove unused arguments [luacheck]
-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