diff --git a/lib/zlib.js b/lib/zlib.js index 605d10338e3..43725bff2d2 100644 --- a/lib/zlib.js +++ b/lib/zlib.js @@ -92,7 +92,7 @@ exports.createUnzip = function(o) { // generic zlib // minimal 2-byte header function Deflate(opts) { - if (!(this instanceof Deflate)) return new Deflate(opt); + if (!(this instanceof Deflate)) return new Deflate(opts); Zlib.call(this, opts, binding.Deflate); }