Skip to content

Commit

Permalink
Emit a joined event.
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotttf committed May 8, 2012
1 parent d8ab884 commit 4b39ced
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/irc.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class IrcBot extends Adapter
self = @
@bot.join channel, () ->
console.log('joined %s', channel)
self.emit 'joined'

part: (channel) ->
@bot.part channel, () ->
Expand Down

0 comments on commit 4b39ced

Please sign in to comment.