Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

PING event

  • Loading branch information...
commit 8cc26d564bb83895245cb18590ce00e1d0a31efe 1 parent 02593ba
@guanix authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/irc.js
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;
Please sign in to comment.
Something went wrong with that request. Please try again.