Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

Commit

Permalink
Change wave to only activate when someone leaves the room
Browse files Browse the repository at this point in the history
  • Loading branch information
oldpatricka committed Jan 27, 2012
1 parent f143fb8 commit 8b66526
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/wave.coffee
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Hubot waves back
#
module.exports = (robot) ->
robot.hear /^wave/i, (msg) ->
robot.leave (msg) ->
msg.send "wave"

0 comments on commit 8b66526

Please sign in to comment.