Skip to content

Node.js based forum software built for the modern web

#2254 proper fix

barisusaklif531a5362d72
diff --git a/src/sitemap.js b/src/sitemap.js
index e621fdc713..114c6f4462 100644
--- a/src/sitemap.js
+++ b/src/sitemap.js
@@ -55,7 +55,7 @@ var path = require('path'),
var topicUrls = [];
async.waterfall([
- function(tids, next) {
+ function(next) {
db.getSortedSetRevRange('topics:recent', 0, -1, next);
},
function(tids, next) {