diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2012-06-28 02:56:41 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2012-06-28 02:56:41 +0200 |
commit | 8f926d24d474da2ba5c7bc98090014278e87d4c0 (patch) | |
tree | 36ff495a6372c894de9c105501f4d24c2b7bae88 /irc-client.js | |
parent | 2870c4da1aedf41926972dd60227c3d62cdaa123 (diff) | |
download | dynobot-irc-master.tar.gz dynobot-irc-master.tar.bz2 dynobot-irc-master.tar.xz dynobot-irc-master.zip |
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; |