mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-06-23 12:10:10 +02:00
removed event:disconnect
This commit is contained in:
@@ -88,7 +88,6 @@ User.banUser = function(uid, callback) {
|
||||
|
||||
websockets.in('uid_' + uid).emit('event:banned');
|
||||
|
||||
websockets.logoutUser(uid);
|
||||
callback();
|
||||
});
|
||||
});
|
||||
@@ -193,7 +192,6 @@ User.deleteUsers = function(socket, uids, callback) {
|
||||
ip: socket.ip
|
||||
});
|
||||
|
||||
websockets.logoutUser(uid);
|
||||
next();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user