candy-chat/candy — pull request #98 by troymccabe (2012-05-16 19:40:10+00:00)
Title: Multiple handlers for message events

While working with Candy and the Colors plugin, I wanted the ability to listen for things like '/clear' in beforeSend. These methods collided, so I allowed the ability to register multiple handlers.

I can commit and submit pull requests for any of the plugins that use these, as well as going through the rest of event.js and allowing this for all of them. I just wanted to keep it simple for now.