martynsmith/node-irc — Issue #56: Event on successful pm
Author: akavlie
Created: 2011-11-06 05:33:58+00:00
State: open

When sending a PRIVATEMSG to someone, it would be helpful if node-irc emitted an event indicating that the message went through.

As designed now, if you want to open a new window when I send a pm (as opposed to receiving one), I have to special-case it (other windows are opened only after event is emitted from node-irc). And if the nick doesn't exist, you've just opened a window that shouldn't be there.