lib/chat.io.js
function disconnect(socket) {
  if (socket.namespace.name === '') return socket.disconnect();
  socket.packet({type:'disconnect'});
  socket.manager.onLeave(socket, socket.namespace.name);
  socket.$emit('disconnect', 'booted');
}
function disconnect(socket) {
  if (socket.namespace.name === '') return socket.disconnect();
  socket.packet({type:'disconnect'});
  socket.manager.onLeave(socket, socket.namespace.name);
  socket.$emit('disconnect', 'booted');
}
function disconnect ( socket ) { if ( socket . namespace . name === '' ) return socket . disconnect ( ) ; socket . packet ( { type : 'disconnect' } ) ; socket . manager . onLeave ( socket , socket . namespace . name ) ; socket . $emit ( 'disconnect' , 'booted' ) ; }
hack until socket.disconnect is fixed
hack until socket . disconnect is fixed