mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
Merge pull request #1078 from stouset/master
Fix operator precedence bug
This commit is contained in:
@@ -900,7 +900,7 @@ Manager.prototype.authorize = function (data, fn) {
|
||||
var self = this;
|
||||
|
||||
this.get('authorization').call(this, data, function (err, authorized) {
|
||||
self.log.debug('client ' + authorized ? 'authorized' : 'unauthorized');
|
||||
self.log.debug('client ' + (authorized ? 'authorized' : 'unauthorized'));
|
||||
fn(err, authorized);
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user