Skip to content

Commit

Permalink
Fix error for getUserForId
Browse files Browse the repository at this point in the history
  • Loading branch information
jgable committed Jul 12, 2013
1 parent 8df1ea1 commit 3653c2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hubot-irc",
"version": "0.1.16",
"version": "0.1.17",
"author": "Fernando Ortiz <fortiz2k@gmail.com>",
"description": "IRC adapter for Hubot 2.3",
"keywords": "hubot irc adapter",
Expand Down
2 changes: 1 addition & 1 deletion src/irc.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class IrcBot extends Adapter
user = @getUserFromName from
unless user?
id = new Date().getTime().toString()
user = @getUserForId id
user = @getUserFromId id
user.name = from

if channel.match(/^[&#]/)
Expand Down

0 comments on commit 3653c2b

Please sign in to comment.