Moved websocket handling on the client into its own file, added reason to part and quit messages, global system messages about a user now only gets sent to channels where the user is/was

This commit is contained in:
khlieng 2015-02-01 01:56:56 +01:00
parent 3f335187c0
commit 736ef76bc0
9 changed files with 108 additions and 100 deletions

View file

@ -21,8 +21,4 @@ serverActions.disconnect.preEmit = function(server) {
socket.send('quit', { server: server });
};
socket.on('servers', function(data) {
serverActions.load(data);
});
module.exports = serverActions;