Skip to content

Commit

Permalink
Add send notice mode
Browse files Browse the repository at this point in the history
  • Loading branch information
suisho committed Mar 6, 2013
1 parent 2fb12f7 commit 670c877
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/irc.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 670c877

Please sign in to comment.