Permalink
Browse files

Merge pull request #533 from abhshkdz/working-on-script

Fixed `Working-on.coffee`: incorrect function name
  • Loading branch information...
2 parents 15fd525 + b6cc02c commit ce25e36635607b18c91e776ffe3e5536bfb2b759 @technicalpickles technicalpickles committed Aug 31, 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 ce25e36

Please sign in to comment.