aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_admin_shell.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-11-23 17:59:40 +0100
committerKim Alvefur <zash@zash.se>2021-11-23 17:59:40 +0100
commit2388b800b2370b7dae55d7f1e40420ab845b3b5a (patch)
tree1c408b27dca56c24825907f7cc8ffae17c4c104b /plugins/mod_admin_shell.lua
parentfa22d40ba35519453adbfb3fa900035f30e7c1d6 (diff)
downloadprosody-2388b800b2370b7dae55d7f1e40420ab845b3b5a.tar.gz
prosody-2388b800b2370b7dae55d7f1e40420ab845b3b5a.zip
mod_admin_shell: List net providers in module:info
Diffstat (limited to 'plugins/mod_admin_shell.lua')
-rw-r--r--plugins/mod_admin_shell.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_admin_shell.lua b/plugins/mod_admin_shell.lua
index a9b855d6..f8f56528 100644
--- a/plugins/mod_admin_shell.lua
+++ b/plugins/mod_admin_shell.lua
@@ -430,6 +430,7 @@ function def_env.module:info(name, hosts)
["auth-provider"] = function(item) return item.name; end,
["storage-provider"] = function(item) return item.name; end,
["http-provider"] = function(item, mod) return mod:http_url(item.name); end,
+ ["net-provider"] = function(item) return item.name; end,
};
for host in hosts do