Skip to content

Commit

Permalink
updated bug
Browse files Browse the repository at this point in the history
  • Loading branch information
YourDeveloperFriend committed Mar 27, 2013
1 parent d5316ff commit d42fb35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/redis-mq/RedisMQ.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ class RedisMQ
builder.onDone (message)=>
callback message
for key, value of keys
if typeof value == "function"
if value
builder.loadKey key, (response)=>
otherkeys = value response
if otherkeys
builder.loadKey otherkey for otherkey in otherkeys
else
builder.loadKey value
builder.loadKey key

listen: (userid)->
@channelManager.listen userid
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "redis-mq",
"version": "0.1.3",
"version": "0.1.4",
"main": "index.js",
"description": "A message queue utilizing redis' pub/sub system",
"author": "Nathan Tate",
Expand Down

0 comments on commit d42fb35

Please sign in to comment.