mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-15 18:26:15 +01:00
closes #3947
This commit is contained in:
@@ -55,7 +55,7 @@ module.exports = function(SocketTopics) {
|
|||||||
|
|
||||||
async.waterfall([
|
async.waterfall([
|
||||||
function (next) {
|
function (next) {
|
||||||
privileges.categories.canMoveAllTopics(data.currentCid, data.cid, data.uid, next);
|
privileges.categories.canMoveAllTopics(data.currentCid, data.cid, socket.uid, next);
|
||||||
},
|
},
|
||||||
function (canMove, next) {
|
function (canMove, next) {
|
||||||
if (!canMove) {
|
if (!canMove) {
|
||||||
|
|||||||
Reference in New Issue
Block a user