Treat passworded channels as private

This commit is contained in:
calzoneman 2013-11-26 11:16:04 -06:00
parent 81b5c0eeaa
commit cb4a931c30

View file

@ -167,7 +167,7 @@ module.exports = function (Server) {
var channels = []; var channels = [];
for(var key in Server.channels) { for(var key in Server.channels) {
var channel = Server.channels[key]; var channel = Server.channels[key];
if(channel.opts.show_public) if(channel.opts.show_public && channel.opts.password === false)
channels.push(getChannelData(channel)); channels.push(getChannelData(channel));
} }