Permalink
Browse files

Fix typo in connection arguments parsing

  • Loading branch information...
1 parent b3f7387 commit 14ee1397cdab51329d553f9ed08999072723afbf @tmuellerleile tmuellerleile committed Apr 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/memcached.js
View
@@ -41,7 +41,7 @@ function Client (args, options) {
break;
case '[object Array]':
- servers = args.lenght ? args : [regular];
+ servers = args.length ? args : [regular];
break;
default:

0 comments on commit 14ee139

Please sign in to comment.