mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
mod_authz_internal: Fix warning due to global use
Thanks Menel and Martin
This commit is contained in:
parent
865b6da69d
commit
988e651630
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue