Changeset

12538:0f56587bb37f

mod_admin_shell: Drop unused argument [luacheck]
author Kim Alvefur <zash@zash.se>
date Tue, 31 May 2022 13:26:44 +0200
parents 12537:74418f8096b0
children 12539:cfdc8cca64d3
files plugins/mod_admin_shell.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_admin_shell.lua	Tue May 31 00:31:56 2022 +0200
+++ b/plugins/mod_admin_shell.lua	Tue May 31 13:26:44 2022 +0200
@@ -513,7 +513,7 @@
 		["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