Node.js based forum software built for the modern web
limited recent replies to just 5
psychobunny9029ed2663c2
diff --git a/src/categories.js b/src/categories.jsindex 3883ba3358..063bfc9f99 100644--- a/src/categories.js+++ b/src/categories.js@@ -262,7 +262,7 @@ var RDB = require('./redis.js'),}Categories.getRecentReplies = function(cid, callback) {- RDB.zrange('categories:recent_posts:cid:' + cid, 0, -1, function(err, pids) {+ RDB.zrange('categories:recent_posts:cid:' + cid, 0, 4, function(err, pids) {if (pids.length == 0) {callback(false);return;