diff options
author | Kim Alvefur <zash@zash.se> | 2018-09-30 13:38:33 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-09-30 13:38:33 +0200 |
commit | 1f6e0968932ebcb451f56a4f0c28080b2b19bd31 (patch) | |
tree | dfe25c4b94f0c72c2f5f44c0e70daec7d1e5dbcf /plugins | |
parent | 7c3974d11331bb82a1186058d5c8cd3f05be66b6 (diff) | |
download | prosody-1f6e0968932ebcb451f56a4f0c28080b2b19bd31.tar.gz prosody-1f6e0968932ebcb451f56a4f0c28080b2b19bd31.zip |
mod_admin_adhoc: Remove unused argument [luacheck]
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_admin_adhoc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_admin_adhoc.lua b/plugins/mod_admin_adhoc.lua index ae4330c9..30678bbd 100644 --- a/plugins/mod_admin_adhoc.lua +++ b/plugins/mod_admin_adhoc.lua @@ -673,7 +673,7 @@ local shut_down_service_handler = adhoc_simple(shut_down_service_layout, functio send_to_online(message); end - timer_add_task(tonumber(fields.delay or "5"), function(time) prosody.shutdown("Shutdown by adhoc command") end); + timer_add_task(tonumber(fields.delay or "5"), function() prosody.shutdown("Shutdown by adhoc command") end); return { status = "completed", info = "Server is about to shut down" }; end); |