aboutsummaryrefslogtreecommitdiff
path: root/lib/app.js
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-05-03 19:35:21 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-05-03 19:38:20 -1000
commita3e592f2f227c01576d82795c9ca58a25c24bc87 (patch)
tree86ed2d60c2b63ae2b8c75a81aeee8df5af8dfc44 /lib/app.js
parentd673cfb75088b40a7c099ba9538637a44726443a (diff)
downloadpatchfoo-a3e592f2f227c01576d82795c9ca58a25c24bc87.tar.gz
patchfoo-a3e592f2f227c01576d82795c9ca58a25c24bc87.zip
Handle decrypt failure when running as a plugin
%VdhLu+iT854EN35HO+en9rc2bBnyLisA9fKxGr4vAVU=.sha256
Diffstat (limited to 'lib/app.js')
-rw-r--r--lib/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/app.js b/lib/app.js
index d20b2b5..a76687c 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -75,7 +75,7 @@ App.prototype.unboxMsg = function (msg, cb) {
if (err) {
self.error('unbox:', err)
return cb(null, msg)
- } else if (content === false) {
+ } else if (!content) {
return cb(null, msg)
}
var m = {}