Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

client cons bug fixed

  • Loading branch information...
commit cbe7c4181fa3584bc5b50d9ed77699cc105648c9 1 parent 8c92225
@substack authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  index.js
View
2  index.js
@@ -104,7 +104,7 @@ upnode.listen = function () {
function connect (up, cons) {
if (up.closed) return;
- var argv = [].slice.call(arguments, 1).reduce(function (acc, arg) {
+ var argv = [].slice.call(arguments, 2).reduce(function (acc, arg) {
if (typeof arg === 'function') acc.cb = arg
else if (typeof arg === 'object') {
Object.keys(arg).forEach(function (key) {
Please sign in to comment.
Something went wrong with that request. Please try again.