Skip to content
Browse files

Argh minor error

  • Loading branch information...
1 parent 4b48029 commit 1607c69dff99af434d3cc92e86302e9e59f119bb @chriso committed May 12, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
2 README.md
@@ -52,7 +52,7 @@ redback.addStructure('Queue', {
this.client.lpush(this.key, value, callback);
},
next: function (callback) {
- var method = this.fifo ? 'lpop' : 'rpop';
+ var method = this.fifo ? 'rpop' : 'lpop';
this.client[method](this.key, callback);
}
});

0 comments on commit 1607c69

Please sign in to comment.
Something went wrong with that request. Please try again.