mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 01:09:22 +01:00
classes.FakeProto: store UIDs as strings
This commit is contained in:
parent
b3902c7711
commit
46fab1cab7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user