This commit is contained in:
Cryptkeeper!
2017-03-14 17:07:58 -05:00
committed by GitHub
parent f1dfe2e21b
commit ac0ea0d5d7
11 changed files with 146 additions and 126 deletions

View File

@ -44,7 +44,7 @@ function handleRequest(req, res) {
var categories = config.serverCategories;
// Legacy support for people without categories configured.
if (!categories) {
if (!categories || Object.keys(categories).length === 0) {
categories = {
'default': 'All Networks'
};