aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-05-31 13:26:44 +0200
committerKim Alvefur <zash@zash.se>2022-05-31 13:26:44 +0200
commit3717f5872a5abe08be4be2e0de8a2f3fd0666410 (patch)
tree528ddc77de9368c7f701b75884f63957862d4502 /plugins
parentb7bd70874a1dd468bc9acdffeebe9b240ba9d04f (diff)
downloadprosody-3717f5872a5abe08be4be2e0de8a2f3fd0666410.tar.gz
prosody-3717f5872a5abe08be4be2e0de8a2f3fd0666410.zip
mod_admin_shell: Drop unused argument [luacheck]
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_admin_shell.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_admin_shell.lua b/plugins/mod_admin_shell.lua
index 1ced2e49..afe91011 100644
--- a/plugins/mod_admin_shell.lua
+++ b/plugins/mod_admin_shell.lua
@@ -513,7 +513,7 @@ function def_env.module:info(name, hosts)
["auth-provider"] = item_name,
["storage-provider"] = item_name,
["http-provider"] = function(item, mod) return mod:http_url(item.name, item.default_path); end,
- ["net-provider"] = function(item, mod)
+ ["net-provider"] = function(item)
local service_name = item.name;
local ports_list = {};
for _, interface, port in portmanager.get_active_services():iter(service_name, nil, nil) do