# HG changeset patch # User Matthew Wild # Date 1673712890 0 # Node ID 514c8a0e9aa1a8d8dd9df6294ffba0d2336a2c9f # Parent 2b6c543c4d3a0605bc71de5533004316526e1fb7 mod_unified_push: Fix default ACL in component mode diff -r 2b6c543c4d3a -r 514c8a0e9aa1 mod_unified_push/mod_unified_push.lua --- 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)