Skip to content
Browse files

Changed function name from `findUser` to `robot.userForName`

  • Loading branch information...
1 parent e5e62a5 commit b6cc02ce0bb0d0181ad01f368290a1308a180169 @abhshkdz abhshkdz committed Aug 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/scripts/working-on.coffee
View
2 src/scripts/working-on.coffee
@@ -31,7 +31,7 @@ module.exports = (robot) ->
robot.respond /(i\'m|i am) working on (.*)/i, (msg) ->
name = msg.message.user.name
- user = findUser name
+ user = robot.userForName name
if typeof user is 'object'
user.workingon = msg.match[2]

0 comments on commit b6cc02c

Please sign in to comment.
Something went wrong with that request. Please try again.