show message if there are not recent topics

This commit is contained in:
Baris Soner Usakli
2013-07-26 15:49:03 -04:00
parent 23598361b8
commit 57a4741e9e
2 changed files with 5 additions and 5 deletions

View File

@@ -116,6 +116,7 @@ var RDB = require('./redis.js'),
};
if (!tids || !tids.length) {
latestTopics.no_topics_message = 'show';
callback(latestTopics);
return;
}