Skip to content

Commit

Permalink
Run now emits "connected" event in order to load hubot scripts
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Anderson <getfatday@gmail.com>
  • Loading branch information
getfatday committed Mar 26, 2012
1 parent a1ee96d commit 40c0243
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/irc.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ class IrcBot extends Adapter

@bot = bot

self.emit "connected"

exports.use = (robot) ->
new IrcBot robot

0 comments on commit 40c0243

Please sign in to comment.