Treat passworded channels as private

This commit is contained in:
calzoneman 2013-11-26 11:16:04 -06:00
parent 81b5c0eeaa
commit cb4a931c30
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}