From 5a6a0fa5c34155d843c078b5c71acca990f87b7b Mon Sep 17 00:00:00 2001 From: acidvegas Date: Mon, 29 May 2023 01:23:42 -0400 Subject: [PATCH] Fixed loop_nick not setting rndnick prior to /NICK --- ircp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircp.py b/ircp.py index eb22102..7624664 100644 --- a/ircp.py +++ b/ircp.py @@ -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: