markstory/hubot-xmpp — pull request #11 by russfrank (2012-04-04 18:56:36+00:00)
Title: Emit 'connected' event upon successful connection

Upon successful connection, we should emit a 'connected' event.

This fixes the problem I was having which I described in issue #10. The scripts weren't being loaded because the 'connected' event was never fired.