Changeset

10131:0780bcf51ba7

prosodyctl: Added the 'admin_remove' command
author João Duarte <jvsDuarte08@gmail.com>
date Tue, 25 Jun 2019 12:03:20 +0100
parents 10130:667f37603308
children 10132:b59535964e81
files prosodyctl
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/prosodyctl	Tue Jun 25 12:02:37 2019 +0100
+++ b/prosodyctl	Tue Jun 25 12:03:20 2019 +0100
@@ -118,6 +118,10 @@
   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)