node-xmpp/node-xmpp — pull request #260 by pvoisin (2014-12-13 04:12:36+00:00)
Title: Fixing "register" case in `examples/c2s.js`

"c2s" example didn't work. I found that the "register" event is emitted by the client, not the server.