aboutsummaryrefslogtreecommitdiffstats
path: root/prosodyctl
diff options
context:
space:
mode:
Diffstat (limited to 'prosodyctl')
-rwxr-xr-xprosodyctl4
1 files changed, 4 insertions, 0 deletions
diff --git a/prosodyctl b/prosodyctl
index 56fa3f24..1180d039 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -114,6 +114,10 @@ function admin_operation(operation, arg)
os.execute("luarocks-admin "..tree..operation..server..refresh..modules)
end
+function commands.admin_add(arg)
+ admin_operation("add ", arg)
+end
+
function commands.enabled_plugins()
for module in modulemanager.get_modules_for_host() do
show_warning("%s", module)