diff options
-rw-r--r-- | lib/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -440,7 +440,7 @@ App.prototype.getVoted = function (_opts, cb) { votes.feedsObj[msg.value.author] = value votes.value += value }, function (err) { - if (err) return cb(err) + if (err && err !== true) return cb(err) var items = votedArray if (opts.reverse) items.reverse() items.sort(compareVoted) |