aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/app.js b/lib/app.js
index 052c767..13d947e 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -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)