Skip to content


Subversion checkout URL

You can clone with
Download ZIP


PING event #82

wants to merge 1 commit into from

4 participants


Client will emit a ping event when it receives a ping.


Can you please add this to the documentation?

If you do, then I'll merge this :-)


there's nothing much to document... it's just background handling of connections, right?
i just got bitten by the lack of this.


agreeing...why hasn't this been merged? it's been 6 months...this would be something rather useful and just leaving it dark out of stubbornness to get someone else to do something is pretty shameful.


@damianb - That's all well and good, but I'm a busy person. Yes, it would be trivial for to add the documentation, and it would be trivial for anyone to add the documentation.

I will try get around to it, but I'm not really keen on merging code that doesn't keep the documentation up to date. That's the start of a slippery slope.


@jaekwon If you read the diff you'll see that there is an event to document, and so far as I can tell nothing yet subscribes to it, so I fail to see how it can be causing any issues for anyone.

@martynsmith martynsmith closed this pull request from a commit
@martynsmith ping event (closes #82) ecec980
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 4, 2012
  1. @guanix

    PING event

    guanix authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/irc.js
1  lib/irc.js
@@ -112,6 +112,7 @@ function Client(server, nick, opt) {
case "PING":
self.send("PONG", message.args[0]);
+ self.emit('ping', message.args[0]);
case "NOTICE":
var from = message.nick;
Something went wrong with that request. Please try again.