From 46fab1cab70def1f847334782cf817e3cde76072 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 12 Sep 2015 22:26:38 -0700 Subject: [PATCH] classes.FakeProto: store UIDs as strings --- classes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes.py b/classes.py index 1211088..9216063 100644 --- a/classes.py +++ b/classes.py @@ -400,7 +400,7 @@ class FakeProto(Protocol): pass def spawnClient(self, nick, *args, **kwargs): - uid = randint(1, 10000000000) + uid = str(randint(1, 10000000000)) ts = int(time.time()) self.irc.users[uid] = user = IrcUser(nick, ts, uid) return user