diff --git a/src/socket.io/user/ban.js b/src/socket.io/user/ban.js index 070fdf5566..a2c4ea50d3 100644 --- a/src/socket.io/user/ban.js +++ b/src/socket.io/user/ban.js @@ -13,7 +13,7 @@ module.exports = function(SocketUser) { data = { uids: data, until: 0 - } + }; } toggleBan(socket.uid, data.uids, function(uid, next) { @@ -71,7 +71,6 @@ module.exports = function(SocketUser) { next(); } ], callback); - }; - + } };