Merge pull request #1078 from stouset/master

Fix operator precedence bug
This commit is contained in:
Guillermo Rauch
2012-12-11 09:42:23 -08:00

View File

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