Software /
code /
prosody
Diff
core/hostmanager.lua @ 8253:3a6f5b0f56f0
Merge 0.10->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 21 Sep 2017 02:36:28 +0200 |
parent | 7143:fa6cd0e9105d |
parent | 8251:cb2d86f4b511 |
child | 8555:4f0f5b49bb03 |
line wrap: on
line diff
--- a/core/hostmanager.lua Sun Sep 17 13:33:38 2017 -0400 +++ b/core/hostmanager.lua Thu Sep 21 02:36:28 2017 +0200 @@ -91,7 +91,7 @@ host_session.type = "component"; end hosts[host] = host_session; - if not host:match("[@/]") then + if not host_config.disco_hidden and not host:match("[@/]") then disco_items:set(host:match("%.(.*)") or "*", host, host_config.name or true); end for option_name in pairs(host_config) do