Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Update userFor<X> call
  • Loading branch information
tombell committed Jun 18, 2013
1 parent 6b511bf commit e80ad41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/rhubot.coffee
Expand Up @@ -37,7 +37,7 @@ module.exports = (robot) ->


robot.router.post routerPost, (req, res) ->
user = robot.userForId 'broadcast'
user = robot.brain.userForId 'broadcast'
user.room = req.body.room
user.type = 'groupchat'
result = req.body.result
Expand Down

0 comments on commit e80ad41

Please sign in to comment.