Skip to content

Commit

Permalink
Tweaked user ID generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
botdev committed Oct 13, 2012
1 parent 3cac371 commit 04eb38e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/irc.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class IrcBot extends Adapter
createUser: (channel, from) ->
user = @userForName from
unless user?
id = (new Date().getTime() / 1000).toString().replace('.','')
id = new Date().getTime().toString()
user = @userForId id
user.name = from

Expand Down

0 comments on commit 04eb38e

Please sign in to comment.