Permalink
Browse files

missed a couple of function params, probably due to cut'n'pasting.

  • Loading branch information...
1 parent 3667cfa commit e217924341e3da179f7f9322c57387ed5a958569 @terrcin committed Aug 1, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 redis-key-pubsub.js
View
@@ -133,14 +133,14 @@ function rpoplpush(args, command) {
lrange([args[1]], command);
}
-function smembers(args) {
+function smembers(args, command) {
var key = args[0][0].toString();
var subs = findSubscribers(key);
if (subs.length > 0)
client.smembers(key, function (err, resp) { publish(subs,key, resp, command) });
}
-function smove(args) {
+function smove(args, command) {
smembers([args[0]], command);
smembers([args[1]], command);
}

0 comments on commit e217924

Please sign in to comment.