Merge pull request #13 from cubedro/develop

more refactoring
This commit is contained in:
Marian OANCΞA 2015-03-04 23:32:20 +02:00
commit 4469c78f01
1 changed files with 1 additions and 0 deletions

View File

@ -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) {