Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
call: fix __buffer() return value
Browse files Browse the repository at this point in the history
  • Loading branch information
skenqbx committed Apr 22, 2015
1 parent e5fde54 commit 552091d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/call.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

0 comments on commit 552091d

Please sign in to comment.