Skip to content

Commit

Permalink
Pedantry
Browse files Browse the repository at this point in the history
  • Loading branch information
grantmd authored and paulhammond committed Dec 8, 2014
1 parent 09aa88c commit 24eaa9f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/slack.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ class SlackBot extends Adapter

close: =>
@robot.logger.info 'Slack client closed'
@client.removeListener 'error', @.error
@client.removeListener 'loggedIn', @.loggedIn
@client.removeListener 'open', @.open
@client.removeListener 'close', @.close
@client.removeListener 'message', @.message

message: (msg) =>
return if msg.hidden
Expand Down

0 comments on commit 24eaa9f

Please sign in to comment.