mod_uptime: Remove unused arguments [luacheck]

This commit is contained in:
Kim Alvefur 2017-10-20 06:54:06 +02:00
parent ec998641fd
commit 1e9ad3b4b3

View file

@ -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