1
mirror of git://git.acid.vegas/IRCP.git synced 2024-11-22 16:06:41 +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: try:
while True: while True:
await asyncio.sleep(throttle.nick) await asyncio.sleep(throttle.nick)
await self.raw('NICK ' + self.nickname)
self.nickname = rndnick() self.nickname = rndnick()
await self.raw('NICK ' + self.nickname)
except asyncio.CancelledError: except asyncio.CancelledError:
pass pass
except Exception as ex: except Exception as ex: