Mercurial > prosody-modules
changeset 5151:514c8a0e9aa1
mod_unified_push: Fix default ACL in component mode
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 14 Jan 2023 16:14:50 +0000 |
parents | 2b6c543c4d3a |
children | 342baedbd1c8 |
files | mod_unified_push/mod_unified_push.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_unified_push/mod_unified_push.lua Sat Jan 14 15:32:24 2023 +0000 +++ b/mod_unified_push/mod_unified_push.lua Sat Jan 14 16:14:50 2023 +0000 @@ -17,7 +17,7 @@ module:add_feature(xmlns_up); local acl = module:get_option_set("unified_push_acl", { - module:get_host_type() == "local" and module.host or module.host:match("^[^%.]%.(.+)$") + module:get_host_type() == "local" and module.host or module.host:match("^[^%.]+%.(.+)$") }); local function is_jid_permitted(user_jid)