Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 316 Bytes

NOTES.md

File metadata and controls

7 lines (6 loc) · 316 Bytes

Changes to server:

We added the folowing lines to chatserver.js: 70: socket.emit('channellist', users[socket.username].channels); 108: socket.emit('channellist', users[socket.username].channels); 248: delete rooms[banObj.room].ops[banObj.user];

We change a socket.emit('userlist') to io.sockets.emit('userlist').