Changeset

11297:2e9d4c517919

prosodyctl: Fix copypaste oversight
author Kim Alvefur <zash@zash.se>
date Thu, 21 Jan 2021 19:16:24 +0100
parents 11296:06bb0cdef50b
children 11298:79466cc86041
files prosodyctl
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/prosodyctl	Thu Jan 21 19:15:28 2021 +0100
+++ b/prosodyctl	Thu Jan 21 19:16:24 2021 +0100
@@ -87,8 +87,8 @@
 		return 1;
 	end
 	local ret = call_luarocks("install", arg[1], server);
-	if ret == 0 and operation == "install" then
-		show_module_configuration_help(mod);
+	if ret == 0 then
+		prosodyctl.show_module_configuration_help(arg[1]);
 	end
 	return ret;
 end