1
mirror of git://git.acid.vegas/IRCP.git synced 2024-11-26 01:46:39 +00:00

Fixed loop_nick not setting rndnick prior to /NICK

This commit is contained in:
Dionysus 2023-05-29 01:23:42 -04:00
parent e89c30217e
commit 5a6a0fa5c3
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE

View File

@ -237,8 +237,8 @@ class probe:
try:
while True:
await asyncio.sleep(throttle.nick)
await self.raw('NICK ' + self.nickname)
self.nickname = rndnick()
await self.raw('NICK ' + self.nickname)
except asyncio.CancelledError:
pass
except Exception as ex: