Skip to content

Commit 40c0243

Browse files
committed
Run now emits "connected" event in order to load hubot scripts
Signed-off-by: Ian Anderson <[email protected]>
1 parent a1ee96d commit 40c0243

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/irc.coffee

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ class IrcBot extends Adapter
108108

109109
@bot = bot
110110

111+
self.emit "connected"
112+
111113
exports.use = (robot) ->
112114
new IrcBot robot
113115

0 commit comments

Comments
 (0)