LearnBoost/socket.io — pull request #963 by keesun (2012-07-26 08:08:38+00:00)
Title: Very small fix for the authorization logging code.

self.log.debug('client ' + authorized ? 'authorized' : 'unauthorized');

This line of code always print 'client authorized'. The conditional operator should be wrapped by braces.

When the 'authorized' is 'true' that statement becomes,
- 'client true' ? 'authorized' : 'unauthorized'
And when it is 'false',
- 'client false' ? 'authorized' : 'unauthorized'

Thanks.