prosodyctl: Fix module.command invocation (thanks woffs)
authorKim Alvefur <zash@zash.se>
Fri, 18 Jan 2019 18:30:41 +0100
changeset 9802 7ce7ee9cd1c5
parent 9801 071538a567d5
child 9803 7259a61bacc8
prosodyctl: Fix module.command invocation (thanks woffs) The first argument is already removed once since c7727c13260f
prosodyctl
--- a/prosodyctl	Thu Jan 17 20:42:38 2019 +0100
+++ b/prosodyctl	Fri Jan 18 18:30:41 2019 +0100
@@ -1300,8 +1300,6 @@
 			end
 		end
 
-		table.remove(arg, 1);
-
 		local module = modulemanager.get_module("*", module_name);
 		if not module then
 			show_message("Failed to load module '"..module_name.."': Unknown error");