@@ -160,6 +160,10 @@ io.on('connection', function (socket) {
hsize:HSIZE
});
socket.on('history',function(){
socket.emit('history',history);
});
socket.on('disconnect',function(){
deleteplayers[socket.name];
deletehistory[socket.name];
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.