aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2019-01-16 14:58:22 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2019-01-16 14:58:22 -1000
commitd0e6557e0e73c5e0579da3e3e37b10b1b50b1eb5 (patch)
tree4c0c1779d9122bd13b09f51b907542f9d4ff212d
parentdf6d424b86391119a29d101da2fe0a42140583c6 (diff)
downloadpatchfoo-d0e6557e0e73c5e0579da3e3e37b10b1b50b1eb5.tar.gz
patchfoo-d0e6557e0e73c5e0579da3e3e37b10b1b50b1eb5.zip
Fix typo
-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 26604c3..ad66c81 100644
--- a/lib/render-msg.js
+++ b/lib/render-msg.js
@@ -141,7 +141,7 @@ RenderMsg.prototype.wrap = function (content, cb) {
RenderMsg.prototype.wrapMini = function (content, cb) {
if (!this.shouldWrap) return cb(null, content)
var ts = this.value.timestamp
- var date = ts ? new Date(ts) : nulll
+ var date = ts ? new Date(ts) : null
var self = this
var channel = this.c.channel ? '#' + this.c.channel : ''
var done = multicb({pluck: 1, spread: true})