Skip to content

Node.js based forum software built for the modern web

fix topic follow

barisusaklifffca0e4258e
diff --git a/src/socket.io/topics.js b/src/socket.io/topics.js
index e7c38bf086..5714dbae51 100644
--- a/src/socket.io/topics.js
+++ b/src/socket.io/topics.js
@@ -159,7 +159,7 @@ function followCommand(method, socket, tid, callback) {
return callback(new Error('[[error:not-logged-in]]'));
}
- topics[method](tid, socket.uid, callback);
+ method(tid, socket.uid, callback);
}
SocketTopics.search = function(socket, data, callback) {