From 1557e6f439f4f1c32e868c2df88f73711b45ba4b Mon Sep 17 00:00:00 2001 From: futoase Date: Mon, 11 Jul 2011 16:32:31 +0900 Subject: [PATCH] append notice method to Client.prototype. --- lib/irc.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/irc.js b/lib/irc.js index dc539520..e9ca5963 100644 --- a/lib/irc.js +++ b/lib/irc.js @@ -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)