aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
authorJoão Duarte <jvsDuarte08@gmail.com>2019-06-25 12:03:20 +0100
committerJoão Duarte <jvsDuarte08@gmail.com>2019-06-25 12:03:20 +0100
commit2aa2aff974345346344416ca1f91f0c5190dd93b (patch)
tree1bb259917ffaa7fbe3e24bf766997c74e0bcfe0e /prosodyctl
parent6021b5871292b692043b80334ecbe1133965519d (diff)
downloadprosody-2aa2aff974345346344416ca1f91f0c5190dd93b.tar.gz
prosody-2aa2aff974345346344416ca1f91f0c5190dd93b.zip
prosodyctl: Added the 'admin_remove' command
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl4
1 files changed, 4 insertions, 0 deletions
diff --git a/prosodyctl b/prosodyctl
index 1180d039..75b36e34 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -118,6 +118,10 @@ function commands.admin_add(arg)
admin_operation("add ", arg)
end
+function commands.admin_remove(arg)
+ admin_operation("remove ", arg)
+end
+
function commands.enabled_plugins()
for module in modulemanager.get_modules_for_host() do
show_warning("%s", module)