# HG changeset patch # User Kim Alvefur # Date 1664877883 -7200 # Node ID f58c6ae5edc169783aa22a8176814106cf8e2b41 # Parent 0dc80024fdd29b7b1f27a203775901a273e611db mod_authz_internal: Fix warning due to global use Thanks Menel and Martin diff -r 0dc80024fdd2 -r f58c6ae5edc1 plugins/mod_authz_internal.lua --- a/plugins/mod_authz_internal.lua Mon Oct 03 12:55:11 2022 +0200 +++ b/plugins/mod_authz_internal.lua Tue Oct 04 12:04:43 2022 +0200 @@ -12,7 +12,7 @@ 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");