# HG changeset patch # User Kim Alvefur # Date 1538307513 -7200 # Node ID 9ef746c2a644226e0634e52b733276cde793df93 # Parent ec60e74fd9bbc1fe1d35319dc00e77f2944eedb4 mod_admin_adhoc: Remove unused argument [luacheck] diff -r ec60e74fd9bb -r 9ef746c2a644 plugins/mod_admin_adhoc.lua --- a/plugins/mod_admin_adhoc.lua Sun Sep 30 13:37:51 2018 +0200 +++ b/plugins/mod_admin_adhoc.lua Sun Sep 30 13:38:33 2018 +0200 @@ -673,7 +673,7 @@ 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);