aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
authorJoão Duarte <jvsDuarte08@gmail.com>2019-07-31 11:13:14 -0700
committerJoão Duarte <jvsDuarte08@gmail.com>2019-07-31 11:13:14 -0700
commit3fe8683f5ec784091353788cf7f1b722747e489a (patch)
treefe8b515bac7df79e8192fbf283e522f6c22342ca /prosodyctl
parent5aa4dda0fb32d81ee08d873bd9528ab26aa56c22 (diff)
downloadprosody-3fe8683f5ec784091353788cf7f1b722747e489a.tar.gz
prosody-3fe8683f5ec784091353788cf7f1b722747e489a.zip
prosodyctl: Removed the auxiliary command 'enabled_plugins'
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl12
1 files changed, 1 insertions, 11 deletions
diff --git a/prosodyctl b/prosodyctl
index 57632964..9c94fea4 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -112,16 +112,6 @@ function commands.list(arg)
execute_command(arg);
end
-function commands.enabled_plugins(arg)
- if arg[1] == "--help" then
- show_usage([[enabled_plugins]], [[Shows plugins currently enabled on prosody]]);
- return 1;
- end
- for module in modulemanager.get_modules_for_host() do
- show_warning("%s", module)
- end
-end
-
function commands.adduser(arg)
if not arg[1] or arg[1] == "--help" then
show_usage([[adduser JID]], [[Create the specified user account in Prosody]]);
@@ -1387,7 +1377,7 @@ local command_runner = async.runner(function ()
print("Where COMMAND may be one of:\n");
local hidden_commands = require "util.set".new{ "register", "unregister", "addplugin" };
- local commands_order = { "install", "remove", "list", "enabled_plugins", "adduser", "passwd", "deluser", "start", "stop", "restart", "reload",
+ local commands_order = { "install", "remove", "list", "adduser", "passwd", "deluser", "start", "stop", "restart", "reload",
"about" };
local done = {};