diff --git a/lib/net.js b/lib/net.js index 234285e03d..c233ffbfeb 100644 --- a/lib/net.js +++ b/lib/net.js @@ -821,11 +821,6 @@ Stream.prototype.flush = function () { }; -Stream.prototype.send = function () { - throw new Error('send renamed to write'); -}; - - Stream.prototype._writeQueueLast = function () { return this._writeQueue.length > 0 ? this._writeQueue[this._writeQueue.length-1] : null;