more refactoring
This commit is contained in:
parent
28c5e00a99
commit
9714d6fe7a
@ -78,6 +78,7 @@ function Node()
|
||||
socket.on('open', function open() {
|
||||
socket.emit('hello', { id: self.id, info: self.info, secret: WS_SECRET });
|
||||
console.log('The connection has been opened.');
|
||||
console.log('Trying to login');
|
||||
}).on('end', function end() {
|
||||
self._socket = false;
|
||||
}).on('error', function error(err) {
|
||||
|
Loading…
Reference in New Issue
Block a user