changeset 9403 | 9ef746c2a644 |
parent 9402 | ec60e74fd9bb |
child 9404 | 6329c07452b7 |
--- 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);