Skip to content

PING event #82

Closed
wants to merge 1 commit into from
+1 −0
View
1 lib/irc.js
@@ -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;
Something went wrong with that request. Please try again.