mirror of
https://github.com/bjc/prosody.git
synced 2025-04-01 20:27:39 +03:00
mod_uptime: Remove unused arguments [luacheck]
This commit is contained in:
parent
ec998641fd
commit
1e9ad3b4b3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue