Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
10130:667f37603308 | 10131:0780bcf51ba7 |
---|---|
114 os.execute("luarocks-admin "..tree..operation..server..refresh..modules) | 114 os.execute("luarocks-admin "..tree..operation..server..refresh..modules) |
115 end | 115 end |
116 | 116 |
117 function commands.admin_add(arg) | 117 function commands.admin_add(arg) |
118 admin_operation("add ", arg) | 118 admin_operation("add ", arg) |
119 end | |
120 | |
121 function commands.admin_remove(arg) | |
122 admin_operation("remove ", arg) | |
119 end | 123 end |
120 | 124 |
121 function commands.enabled_plugins() | 125 function commands.enabled_plugins() |
122 for module in modulemanager.get_modules_for_host() do | 126 for module in modulemanager.get_modules_for_host() do |
123 show_warning("%s", module) | 127 show_warning("%s", module) |