Skip to content

Commit 04eb38e

Browse files
committed
Tweaked user ID generation.
1 parent 3cac371 commit 04eb38e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/irc.coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class IrcBot extends Adapter
5454
createUser: (channel, from) ->
5555
user = @userForName from
5656
unless user?
57-
id = (new Date().getTime() / 1000).toString().replace('.','')
57+
id = new Date().getTime().toString()
5858
user = @userForId id
5959
user.name = from
6060

0 commit comments

Comments
 (0)