Skip to content

Node.js based forum software built for the modern web

closes #3947

barisusakli24a302ea1acd
diff --git a/src/socket.io/topics/move.js b/src/socket.io/topics/move.js
index 42c82f6b8f..80fc2e3772 100644
--- a/src/socket.io/topics/move.js
+++ b/src/socket.io/topics/move.js
@@ -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) {