mirror of https://github.com/calzoneman/sync.git
Treat passworded channels as private
This commit is contained in:
parent
81b5c0eeaa
commit
cb4a931c30
|
@ -167,7 +167,7 @@ module.exports = function (Server) {
|
|||
var channels = [];
|
||||
for(var key in Server.channels) {
|
||||
var channel = Server.channels[key];
|
||||
if(channel.opts.show_public)
|
||||
if(channel.opts.show_public && channel.opts.password === false)
|
||||
channels.push(getChannelData(channel));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue