leporo/tornado-redis — pull request #6 by jkbr (2012-08-24 10:23:54+00:00)
Title: Fixed incorrect Message.channel / Message.pattern assignment

Before this fix, the pattern would incorrectly get assigned to `message.channel` and the channel to `message.pattern`.

> The type of the message is pmessage: it is a message received as result of a PUBLISH command issued by another client, matching a pattern-matching subscription. **The second element is the original pattern matched, the third element is the name of the originating channel,** and the last element the actual message payload.

http://redis.io/topics/pubsub