Permalink
Browse files

restore a notice method

  • Loading branch information...
fumiz committed Jul 27, 2012
1 parent 30b87df commit a70f95bf0b784b2f402d86dc87258938fed38926
Showing with 8 additions and 0 deletions.
  1. +8 −0 src/irc.coffee
View
@@ -8,6 +8,14 @@ Response = require('hubot').Response
Irc = require 'irc'
class IrcBot extends Adapter
+ constructor: (@robot) ->
+ super @robot
+
+ @robot.notice = (user, strings...) ->
+ @adapter.notice user, strings...
+
+ @robot.Response = IrcResponse
+
send: (user, strings...) ->
for str in strings
if not str?

0 comments on commit a70f95b

Please sign in to comment.