From 988e651630d980249c8ae6ee698527094fc4d4b4 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 4 Oct 2022 12:04:43 +0200 Subject: mod_authz_internal: Fix warning due to global use Thanks Menel and Martin --- plugins/mod_authz_internal.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/mod_authz_internal.lua b/plugins/mod_authz_internal.lua index 66aa02c1..c2895613 100644 --- a/plugins/mod_authz_internal.lua +++ b/plugins/mod_authz_internal.lua @@ -12,7 +12,7 @@ local host_suffix = host:gsub("^[^%.]+%.", ""); local hosts = prosody.hosts; local is_component = hosts[host].type == "component"; -local host_user_role, server_user_role; +local host_user_role, server_user_role, public_user_role; if is_component then host_user_role = module:get_option_string("host_user_role", "prosody:user"); server_user_role = module:get_option_string("server_user_role"); -- cgit v1.2.3