From 04eb38eb7dc7551fe1bb217406206df72b9749c6 Mon Sep 17 00:00:00 2001 From: BotDev Date: Sat, 13 Oct 2012 17:52:50 +0100 Subject: [PATCH] Tweaked user ID generation. --- src/irc.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/irc.coffee b/src/irc.coffee index c499076..67a0923 100644 --- a/src/irc.coffee +++ b/src/irc.coffee @@ -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