Diff

prosodyctl @ 10131:0780bcf51ba7

prosodyctl: Added the 'admin_remove' command
author João Duarte <jvsDuarte08@gmail.com>
date Tue, 25 Jun 2019 12:03:20 +0100
parent 10130:667f37603308
child 10132:b59535964e81
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)