From 670c877249c7961b322794157b53e10d41dba611 Mon Sep 17 00:00:00 2001 From: suisho Date: Wed, 6 Mar 2013 23:36:41 +0900 Subject: [PATCH] Add send notice mode --- src/irc.coffee | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/irc.coffee b/src/irc.coffee index b622e86..0525289 100644 --- a/src/irc.coffee +++ b/src/irc.coffee @@ -41,7 +41,10 @@ class IrcBot extends Adapter return for str in strings - @bot.say target, str + if process.env.HUBOT_IRC_SEND_NOTICE_MODE? + @bot.notice target, str + else + @bot.say target, str notice: (envelope, strings...) -> for str in strings