connections not servers lol

This commit is contained in:
reality 2013-07-06 18:49:34 +00:00
parent 7e1818d875
commit a42271dcf9

View File

@ -14,7 +14,7 @@ var pages = function(dbot) {
res.render('channels', { res.render('channels', {
'name': dbot.config.name, 'name': dbot.config.name,
'server': server, 'server': server,
'channels': _.keys(dbot.instance.servers[server].channels) 'channels': _.keys(dbot.instance.connections[server].channels)
}); });
}, },