Changeset

9400:9ef746c2a644

mod_admin_adhoc: Remove unused argument [luacheck]
author Kim Alvefur <zash@zash.se>
date Sun, 30 Sep 2018 13:38:33 +0200
parents 9399:ec60e74fd9bb
children 9401:6329c07452b7
files plugins/mod_admin_adhoc.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);