Changeset

9798:7ce7ee9cd1c5

prosodyctl: Fix module.command invocation (thanks woffs) The first argument is already removed once since c7727c13260f
author Kim Alvefur <zash@zash.se>
date Fri, 18 Jan 2019 18:30:41 +0100
parents 9797:071538a567d5
children 9799:7259a61bacc8
files prosodyctl
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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");