mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-08 18:32:21 +02:00
Update move.js
This commit is contained in:
@@ -55,7 +55,7 @@ module.exports = function(SocketTopics) {
|
||||
|
||||
async.waterfall([
|
||||
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) {
|
||||
if (!canMove) {
|
||||
@@ -71,4 +71,4 @@ module.exports = function(SocketTopics) {
|
||||
}
|
||||
], callback);
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user