Software /
code /
prosody
Changeset
12740:f58c6ae5edc1
mod_authz_internal: Fix warning due to global use
Thanks Menel and Martin
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 04 Oct 2022 12:04:43 +0200 |
parents | 12739:0dc80024fdd2 |
children | 12741:7b3deafb9162 |
files | plugins/mod_authz_internal.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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");