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 | 1e9ad3b4b3aa510a0e0cac1fb148bf5dce46b002 (patch) | |
tree | 70dcda092e523cdafb71bffc063be51884f6531f | |
parent | ec998641fdd55a1ac784895eed6438795112905a (diff) | |
download | prosody-1e9ad3b4b3aa510a0e0cac1fb148bf5dce46b002.tar.gz prosody-1e9ad3b4b3aa510a0e0cac1fb148bf5dce46b002.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 |