diff --git a/README.md b/README.md index 94a6c67ad8..830cb57fa2 100644 --- a/README.md +++ b/README.md @@ -221,7 +221,7 @@ You can force an IPv6 if you set the family to 'IPv6'. See nodejs net or dns mod ```js var redis = require("redis"), - client = redis.createClient(null, null, {detect_buffers: true}); + client = redis.createClient({detect_buffers: true}); client.set("foo_rand000000000000", "OK");