aboutsummaryrefslogtreecommitdiff
path: root/lib/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/app.js')
-rw-r--r--lib/app.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/app.js b/lib/app.js
index 6314284..b3cd1b1 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -146,6 +146,7 @@ App.prototype.getReverseNameSync = function (name) {
}
function getMsgWithValue(sbot, id, cb) {
+ if (!id) return cb()
sbot.get(id, function (err, value) {
if (err) return cb(err)
cb(null, {key: id, value: value})