Compare commits

...

12 Commits

Author SHA1 Message Date
Barış Soner Uşaklı
6c818016fe backport username/email change privilege fix 2018-04-29 17:42:29 -04:00
Barış Soner Uşaklı
9d0802edd3 up dbsearch
to include fix for https://github.com/barisusakli/nodebb-plugin-dbsearch/issues/39
2018-04-18 08:40:42 -04:00
Misty (Bot)
29b7af80f5 Incremented version number - v1.8.2 2018-04-04 19:46:44 +00:00
Misty (Bot)
023c67a1e8 Merge commit 'f4aae44c023079dfbfd8a20fbf1b2749a7a5e315' into v1.8.x 2018-04-04 19:46:44 +00:00
Misty (Bot)
9277eaaf00 Latest translations and fallbacks 2018-03-26 11:28:03 -04:00
Barış Soner Uşaklı
2b27f1f398 backport dbsearch fix 2018-03-22 11:37:43 -04:00
Misty (Bot)
ad8e121f54 Incremented version number - v1.8.1 2018-03-21 19:49:38 +00:00
Misty (Bot)
e12e73e728 Merge commit '06db1694b855b99373daa2dd3dc0943d42b22087' into v1.8.x 2018-03-21 19:49:37 +00:00
Barış Soner Uşaklı
5662772c3d up composer-default
026afde652
2018-03-20 09:52:41 -04:00
Barış Soner Uşaklı
2244026e7b fix crash if description is number 2018-03-15 12:41:30 -04:00
Julian Lam
6ea64091dc bump themes to resolve backward text on mobile chat, #6192 2018-03-15 10:57:49 -04:00
Misty (Bot)
bbcaff821f Incremented version number - v1.8.0 2018-03-14 23:56:32 +00:00
2 changed files with 3 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
"name": "nodebb",
"license": "GPL-3.0",
"description": "NodeBB Forum",
"version": "1.8.1",
"version": "1.8.2",
"homepage": "http://www.nodebb.org",
"repository": {
"type": "git",
@@ -64,7 +64,7 @@
"mubsub": "^1.4.0",
"nconf": "^0.9.1",
"nodebb-plugin-composer-default": "6.0.19",
"nodebb-plugin-dbsearch": "2.0.13",
"nodebb-plugin-dbsearch": "2.0.16",
"nodebb-plugin-emoji": "^2.2.0",
"nodebb-plugin-emoji-android": "2.0.0",
"nodebb-plugin-markdown": "8.4.2",

View File

@@ -90,7 +90,7 @@ module.exports = function (SocketUser) {
return next(new Error('[[error:no-privileges]]'));
}
if ((!results.isAdmin || !results.isGlobalMod) && !isSelf) {
if (!isSelf && !(results.isAdmin || results.isGlobalMod)) {
return next(new Error('[[error:no-privileges]]'));
}