Diff

prosodyctl @ 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
parent 9795:02735bc82126
child 9826:bdc2a024933b
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");