diff --git a/api.js b/api.js index e5ad034f..e288ab3e 100644 --- a/api.js +++ b/api.js @@ -145,7 +145,7 @@ module.exports = function (Server) { var clist = []; for(var key in all) { if(all[key].opts.show_public) { - clist.push(key); + clist.push(all[key].name); } } this.handleChannelData({channel: clist.join(",")}, req, res);