evantahler/actionhero — pull request #475 by jacobfike (2014-09-26 17:32:38+00:00)
Title: Fixes typo in redis initializer

I noticed a crash that kept occurring in my app like this:

```bash
2014-09-26 16:55:36 - debug: Redis Connection Closed (client):
2014-09-26 16:55:36 - debug: Redis Connection Closed (subscriber):
2014-09-26 16:55:37 - debug: connected to redis (client)

/vagrant/indy/node_modules/actionhero/node_modules/redis/index.js:834
throw new Error("Connection in subscriber mode, only subscriber comman
^
Error: Connection in subscriber mode, only subscriber commands may be used
at RedisClient.send_command (/vagrant/indy/node_modules/actionhero/node_modules/redis/index.js:834:15)
at RedisClient.select (/vagrant/indy/node_modules/actionhero/node_modules/redis/index.js:1007:10)
at RedisClient. (/vagrant/indy/node_modules/actionhero/initializers/redis.js:93:67)
at RedisClient.emit (events.js:92:17)
at RedisClient.on_connect (/vagrant/indy/node_modules/actionhero/node_modules/redis/index.js:271:14)
at Socket. (/vagrant/indy/node_modules/actionhero/node_modules/redis/index.js:98:14)
at Socket.emit (events.js:117:20)
at Object.afterConnect [as oncomplete] (net.js:886:10)
```

Eventually I discovered a typo in the redis initializer that causes actionhero to try to reconnect the subscriber redis whenever the client redis loses its connection, causing the above error.

Simple fix.