Diff

prosodyctl @ 11297:2e9d4c517919

prosodyctl: Fix copypaste oversight
author Kim Alvefur <zash@zash.se>
date Thu, 21 Jan 2021 19:16:24 +0100
parent 11295:50ea7d9143ad
child 11300:d0d64655e584
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