aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-01-21 19:16:24 +0100
committerKim Alvefur <zash@zash.se>2021-01-21 19:16:24 +0100
commit7d115edcbbf58c8b0155713a180ccdd6673d5198 (patch)
tree6a8333087cb06fb8af0523ab372bda41d156ee41
parentd1ace000c7103295677e778a26bee06f7d4b36e3 (diff)
downloadprosody-7d115edcbbf58c8b0155713a180ccdd6673d5198.tar.gz
prosody-7d115edcbbf58c8b0155713a180ccdd6673d5198.zip
prosodyctl: Fix copypaste oversight
-rwxr-xr-xprosodyctl4
1 files changed, 2 insertions, 2 deletions
diff --git a/prosodyctl b/prosodyctl
index 37116491..def0b7e2 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -87,8 +87,8 @@ function commands.install(arg)
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