diff options
author | Kim Alvefur <zash@zash.se> | 2017-10-20 06:54:06 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-10-20 06:54:06 +0200 |
commit | 63379b4debf91b853ae5030f49533065b79affe0 (patch) | |
tree | 70dcda092e523cdafb71bffc063be51884f6531f | |
parent | fc7955077e8843945dc1ecf2d9e26a28241e91a8 (diff) | |
download | prosody-63379b4debf91b853ae5030f49533065b79affe0.tar.gz prosody-63379b4debf91b853ae5030f49533065b79affe0.zip |
mod_uptime: Remove unused arguments [luacheck]
-rw-r--r-- | plugins/mod_uptime.lua | 2 |
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 |