diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-12-23 07:18:59 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-12-23 07:18:59 +0100 |
| commit | 5ee5bc6d28a6adf23c60176d6caffeb6f74b756d (patch) | |
| tree | b6e603034221908ebcf215f9ef9fcb98afa69fec /bucky/app/bucky.js | |
| parent | 939932ca9e08512a65f2c40df2311cdda7a309d0 (diff) | |
upload default avatar
Diffstat (limited to 'bucky/app/bucky.js')
| -rw-r--r-- | bucky/app/bucky.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bucky/app/bucky.js b/bucky/app/bucky.js index b331688..c85ef45 100644 --- a/bucky/app/bucky.js +++ b/bucky/app/bucky.js @@ -526,7 +526,7 @@ var bucky = module.exports = { next() }, checkThreadPrivacy: function(req, res, next) { - if (! res.thread.checkPrivacy(req.user)) { + if (res.thread.get('id') !== 1 && ! res.thread.checkPrivacy(req.user)) { return res.sendStatus(500) } next() |
