diff --git a/lib/net.js b/lib/net.js index 74ed72dd3c..8e9abd9593 100644 --- a/lib/net.js +++ b/lib/net.js @@ -179,7 +179,7 @@ function Socket (peerInfo) { this.writable = true; } }; -process.inherits(Socket, process.EventEmitter); +sys.inherits(Socket, process.EventEmitter); exports.Socket = Socket; @@ -519,7 +519,7 @@ function Server (listener) { } }; } -process.inherits(Server, process.EventEmitter); +sys.inherits(Server, process.EventEmitter); exports.Server = Server;