use shortcut

This commit is contained in:
barisusakli
2014-11-28 19:40:47 -05:00
parent 3a172711f4
commit 1ffa498807
2 changed files with 5 additions and 5 deletions

View File

@@ -328,11 +328,11 @@ SocketTopics.move = function(socket, data, callback) {
return next(err);
}
websockets.server.sockets.in('topic_' + tid).emit('event:topic_moved', {
websockets.in('topic_' + tid).emit('event:topic_moved', {
tid: tid
});
websockets.server.sockets.in('category_' + oldCid).emit('event:topic_moved', {
websockets.in('category_' + oldCid).emit('event:topic_moved', {
tid: tid
});