Skip to content

Commit

Permalink
Merge pull request #20 from futoase/master
Browse files Browse the repository at this point in the history
append notice method to Client.prototype.
  • Loading branch information
martynsmith committed Sep 3, 2011
2 parents 134e573 + 1557e6f commit 005de05
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/irc.js
Original file line number Diff line number Diff line change
Expand Up @@ -932,6 +932,9 @@ Client.prototype.part = function(channel, callback) { // {{{
Client.prototype.say = function(target, text) { // {{{
this.send('PRIVMSG', target, text);
} // }}}
Client.prototype.notice = function(target, text) { // {{{
this.send('NOTICE', target, text);
} // }}}

/*
* parseMessage(line)
Expand Down

0 comments on commit 005de05

Please sign in to comment.