Changed nickname in irc example.

This commit is contained in:
Guillermo Rauch
2011-06-18 04:42:04 -03:00
parent 3116b8b091
commit 54e78277c0

View File

@@ -66,7 +66,7 @@ var io = sio.listen(app)
*/
var client = new irc.Client('irc.freenode.net', 6667);
client.connect('woot' + Date.now());
client.connect('socketio\\test\\' + String(Math.random()).substr(-3));
client.on('001', function () {
this.send('JOIN', '#node.js');
});