diff options
Diffstat (limited to 'irc-client.js')
-rw-r--r-- | irc-client.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/irc-client.js b/irc-client.js index 1be71bf..c94d8e5 100644 --- a/irc-client.js +++ b/irc-client.js @@ -136,5 +136,6 @@ function dispatch(name) { IrcClient.prototype.notice = function() { this.irc.notice.apply(this.irc, arguments); } IrcClient.prototype.privmsg = function() { this.irc.privmsg.apply(this.irc, arguments); } IrcClient.prototype.topic = function() { this.irc.topic.apply(this.irc, arguments); } +IrcClient.prototype.whoami = function(cb) { cb(this.irc.whoami()); } module.exports.IrcClient = IrcClient; |