aboutsummaryrefslogtreecommitdiff
path: root/lib/render-msg.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/render-msg.js')
-rw-r--r--lib/render-msg.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js
index a29a21b..0c8fbf2 100644
--- a/lib/render-msg.js
+++ b/lib/render-msg.js
@@ -574,7 +574,7 @@ RenderMsg.prototype.link1 = function (link, cb) {
RenderMsg.prototype.links = function (links, cb) {
var self = this
var done = multicb({pluck: 1})
- u.toArray(links).forEach(function (link) {
+ u.toArray(links).filter(Boolean).forEach(function (link) {
self.link(link, done())
})
done(cb)