Permalink
Browse files

PING event

  • Loading branch information...
1 parent 02593ba commit 8cc26d564bb83895245cb18590ce00e1d0a31efe @guanix committed Apr 4, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/irc.js
View
@@ -112,6 +112,7 @@ function Client(server, nick, opt) {
break;
case "PING":
self.send("PONG", message.args[0]);
+ self.emit('ping', message.args[0]);
break;
case "NOTICE":
var from = message.nick;

0 comments on commit 8cc26d5

Please sign in to comment.