From 63379b4debf91b853ae5030f49533065b79affe0 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 20 Oct 2017 06:54:06 +0200 Subject: mod_uptime: Remove unused arguments [luacheck] --- plugins/mod_uptime.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mod_uptime.lua') 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 -- cgit v1.2.3