aboutsummaryrefslogtreecommitdiffstats
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
commitab88117d108ace278c66dc17eed17c30b992d0ce (patch)
tree1bb259917ffaa7fbe3e24bf766997c74e0bcfe0e
parent7673a68043b3e8682a82003780c2112fbf28321e (diff)
downloadprosody-ab88117d108ace278c66dc17eed17c30b992d0ce.tar.gz
prosody-ab88117d108ace278c66dc17eed17c30b992d0ce.zip
prosodyctl: Added the 'admin_remove' command
-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)