Update move.js

This commit is contained in:
Barış Soner Uşaklı
2015-12-13 18:07:07 +02:00
parent 64b044bd51
commit 9fb14bd510

View File

@@ -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);
};
};
};