# HG changeset patch # User Kim Alvefur # Date 1508475246 -7200 # Node ID 071c0523c4cbecc5ef51d6f1f2ac7bf4d1090509 # Parent 5df2f240173bb676e71e621a80b87f8910d1da88 mod_uptime: Remove unused arguments [luacheck] diff -r 5df2f240173b -r 071c0523c4cb plugins/mod_uptime.lua --- a/plugins/mod_uptime.lua Wed Oct 18 21:21:43 2017 +0200 +++ b/plugins/mod_uptime.lua Fri Oct 20 06:54:06 2017 +0200 @@ -39,7 +39,7 @@ 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