Skip to content

Commit

Permalink
Use .reply
Browse files Browse the repository at this point in the history
  • Loading branch information
miyagawa committed May 30, 2012
1 parent e879504 commit b6dd821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/standup.coffee
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module.exports = (robot) ->
unless robot.brain.data.standup?[msg.message.user.room] unless robot.brain.data.standup?[msg.message.user.room]
return return
if robot.brain.data.standup[msg.message.user.room].current.name != msg.message.user.name if robot.brain.data.standup[msg.message.user.room].current.name != msg.message.user.name
msg.send "#{addressUser(msg.message.user.name, robot.adapter)} but it's not your turn! Use skip instead." msg.reply "but it's not your turn! Use skip instead."
else else
nextPerson robot, msg.message.user.room, msg nextPerson robot, msg.message.user.room, msg


Expand Down

0 comments on commit b6dd821

Please sign in to comment.