diff --git a/lib/call.js b/lib/call.js index bd797a6..1377b11 100644 --- a/lib/call.js +++ b/lib/call.js @@ -333,7 +333,7 @@ Call.prototype.__clear = function() { Call.prototype.__buffer = function() { if (!this._buffer && !this.request) { this._buffer = new ReplayBuffer(); - return true; } - return false; + + return this._buffer ? true : false; };