summaryrefslogtreecommitdiff
path: root/bucky/app/bucky.js
diff options
context:
space:
mode:
Diffstat (limited to 'bucky/app/bucky.js')
-rw-r--r--bucky/app/bucky.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/bucky/app/bucky.js b/bucky/app/bucky.js
index 5fb58bf..47ad187 100644
--- a/bucky/app/bucky.js
+++ b/bucky/app/bucky.js
@@ -530,4 +530,7 @@ var bucky = module.exports = {
next()
})
},
+ destroyMessage: function(req, res, next) {
+ res.message.destroy().then( () => next() )
+ },
} \ No newline at end of file